Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
89134 | 蔡佳轩 | 03圆的面积 | C++ | Compile Error | 0 MS | 0 KB | 247 | 2024-08-22 15:15:42 |
#include <iostream> using namespace std; int main(){ double a,b,c,d,e,; a = 3.1415926*1*1; b = 3.1415926*3*3; c = 3.1415926*5*5; d = 3.1415926*7*7; e = 3.1415926*9*9; cout<<a<<" "<<b<<" "<<c<<" "<<d<<" "<<e; }
Main.cc: In function 'int main()': Main.cc:4:22: error: expected unqualified-id before ';' token double a,b,c,d,e,; ^