Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
89138 | 蔡佳轩 | 03圆的面积 | C++ | Compile Error | 0 MS | 0 KB | 301 | 2024-08-22 15:21:23 |
#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<<endl; cout<<b<<endl; cout<<c<<endl; cout<<d<<endl; cout<<e<<endl; }
Main.cc: In function 'int main()': Main.cc:4:22: error: expected unqualified-id before ';' token double a,b,c,d,e,; ^