| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 70572 | 李雨昊 | 04保留两位小数 | C++ | Compile Error | 0 MS | 0 KB | 200 | 2024-04-14 17:19:38 |
#include<iostream> #include<cstdio> #include<cstring> #include<cmath> #include<iomanip> using namespace std; int main() { double a,b,c=0; c=a/b; scanf("%.2lf" &c); return 0; }
Main.cc: In function 'int main()':
Main.cc:13:17: error: invalid operands of types 'const char [6]' and 'double' to binary 'operator&'
scanf("%.2lf" &c);
^