| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 68769 | 张之隽 | 04计算平均分 | C++ | Compile Error | 0 MS | 0 KB | 170 | 2024-03-24 14:42:33 |
#include<bits/stdc++.h> using namespace std; int main(){ double a,b,c; cin >>a>>b>>c; scanf("%lf %lf %lf", &a &b &c); printf("%.2.lf",a%b&c) ;
Main.cc: In function 'int main()':
Main.cc:6:30: error: invalid operands of types 'double*' and 'double' to binary 'operator&'
scanf("%lf %lf %lf", &a &b &c);
^
Main.cc:7:20: error: invalid operands of types 'double' and 'double' to binary 'operator%'
printf("%.2.lf",a%b&c) ;
^
Main.cc:7:25: error: expected '}' at end of input
printf("%.2.lf",a%b&c) ;
^