Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
89136 | 蔡佳轩 | 03圆的面积 | C++ | Compile Error | 0 MS | 0 KB | 267 | 2024-08-22 15:17:10 |
#include <iostream> using namespace std; int main(){ double a,b,c,d,e,; a = 3.1415926*1.0*1;0; b = 3.1415926*3.0*3.0; c = 3.1415926*5.0*5.0; d = 3.1415926*7.0*7.0; e = 3.1415926*9.0*9.0; 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,; ^ Main.cc:5:26: warning: statement has no effect [-Wunused-value] a = 3.1415926*1.0*1;0; ^