| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 118314 | 周博涵 | 06小数除法 | C++ | Compile Error | 0 MS | 0 KB | 163 | 2025-04-26 18:24:35 |
#include <iostream> #include <cstdio> using namespace std; int main(){ double a,b,c; cin>>a>>b; c=a-(int)(a/b)*; printf("%.2lf",c); }
Main.cc: In function 'int main()':
Main.cc:7:20: error: expected primary-expression before ';' token
c=a-(int)(a/b)*;
^