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

Tests(0/0):


Code:

#include<iostream> using namespace std; int main(){ double p;=3.1415926; cout<<pl*1*1<<endl; cout<<pl*3*3<<endl; cout<<pl*5*5<<endl; cout<<pl*7*7<<endl; cout<<pl*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:11: error: 'pl' was not declared in this scope
     cout<