Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
104960 | 周轩屹 | 03圆的面积 | C++ | Compile Error | 0 MS | 0 KB | 187 | 2025-01-11 20:23:51 |
#include<iostream> using namespace std; int main(){ cout<<1**2*3.1415926<<endl<<3**2*3.1415926<<endl<<5**2*3.1415926<<endl<<7**2*3.1415926<<endl<<9**2*3.1415926; return 0; }
Main.cc: In function 'int main()': Main.cc:4:14: error: invalid type argument of unary '*' (have 'int') cout<<1**2*3.1415926<