Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
104957 周轩屹 03圆的面积 C++ Compile Error 0 MS 0 KB 217 2025-01-11 20:22:30

Tests(0/0):


Code:

#include<iostream> using namespace std; int main(){ int a,b,c,d,e=1,3,5,7,9; cout<<a**2*3.1415926<<endl<<b**2*3.1415926<<endl<<c**2*3.1415926<<endl<<d**2*3.1415926<<endl<<e**2*3.1415926; return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:4:21: error: expected unqualified-id before numeric constant
     int a,b,c,d,e=1,3,5,7,9;
                     ^
Main.cc:5:14: error: invalid type argument of unary '*' (have 'int')
     cout<