Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
91115 | 黄思翔 | 04计算平均分 | C++ | Compile Error | 0 MS | 0 KB | 154 | 2024-09-21 11:51:45 |
# include<bits/stdc++.h> using namespace std; int main(){ double a,b,c,d; cin>>a>>b>>c; d=(a+b+c)/3 printf("%.2lf",d); return 0; }
Main.cc: In function 'int main()': Main.cc:7:4: error: expected ';' before 'printf' printf("%.2lf",d); ^