Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
132406 向运淇 03圆的面积 C++ Compile Error 0 MS 0 KB 221 2025-10-08 09:52:59

Tests(0/0):


Code:

#include<iostream> using namespace std; int main(){ double p;=3.1415926; cout<<p;*1*1<<endl; cout<<p;*3*3<<endl; cout<<p;*5*5<<endl; cout<<p;*7*7<<endl; cout<<p;*9*9<<endl; return 0;


Run Info:

Main.cc: In function 'int main()':
Main.cc:4:14: error: expected primary-expression before '=' token
     double p;=3.1415926;
              ^
Main.cc:5:14: error: invalid type argument of unary '*' (have 'int')
     cout<