| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 140211 | 张咏灏 | 向上取整 | C++ | Compile Error | 0 MS | 0 KB | 123 | 2025-12-13 17:06:52 |
#include<iostream> using namespace std; int main(){ double a; cin>>a; cout<<a+a%1; return 0; }
Main.cc: In function 'int main()':
Main.cc:6:15: error: invalid operands of types 'double' and 'int' to binary 'operator%'
cout<