| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 69748 | 张之隽 | 06小数除法 | C++ | Compile Error | 0 MS | 0 KB | 176 | 2024-04-06 14:57:10 |
#include<iostream> using namespace std; int main(){ double a,b; cin >>a>>b; scanf("%2lf", &a &b); int c = a/b; printf("%.2lf" , a-c*b); return 0; }
Main.cc: In function 'int main()':
Main.cc:6:20: error: invalid operands of types 'double*' and 'double' to binary 'operator&'
scanf("%2lf", &a &b);
^