Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
102158 | 李佳璟 | 11向上取整 | C++ | Wrong Answer | 1 MS | 272 KB | 125 | 2024-12-21 12:14:49 |
#include<bits/stdc++.h> using namespace std; int main(){ double a; cin>>a; a=a+0.5; cout<<(int) a; return 0; }
------Input------
141.3
------Answer-----
142
------Your output-----
141