| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 68755 | 石晋骁 | 04计算平均分 | C++ | Compile Error | 0 MS | 0 KB | 166 | 2024-03-24 14:34:03 |
#include<bits/stdc++.h> using namespace std; int main(){ double a,b,c; scanf("%lf %lf %lf" , %a,%b,%c); printf("%.2lf",(a+b+c)/3); return 0; }
Main.cc: In function 'int main()':
Main.cc:5:27: error: expected primary-expression before '%' token
scanf("%lf %lf %lf" , %a,%b,%c);
^
Main.cc:5:30: error: expected primary-expression before '%' token
scanf("%lf %lf %lf" , %a,%b,%c);
^
Main.cc:5:33: error: expected primary-expression before '%' token
scanf("%lf %lf %lf" , %a,%b,%c);
^