Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
104440 颜老师 11向上取整 C++ Accepted 1 MS 272 KB 185 2025-01-04 21:22:23

Tests(10/10):


Code:

#include<iostream> // cin\cout\endl using namespace std; int main(){ double n; cin>>n; if (n-int(n)) cout<<int(n)+1; else cout<<int(n); return 0; }