| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 165568 | 林睿 | 06小数除法 | C++ | Compile Error | 0 MS | 0 KB | 148 | 2026-11-15 17:59:55 |
#include<bits/stdc++.h> using namespace std; int main() { double a,b,o; cin>>a>>b; o=a%b; printf("%.2f",o); return 0; }
Main.cc: In function 'int main()':
Main.cc:7:9: error: invalid operands of types 'double' and 'double' to binary 'operator%'
o=a%b;
^