Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
149014 赖泓宇 03圆的面积 C++ Compile Error 0 MS 0 KB 231 2026-03-06 18:19:56

Tests(0/0):


Code:

int main() { const double PI = 3.1415926; cout << 1 * 1 * PI << endl; cout << 3 * 3 * PI << endl; cout << 5 * 5 * PI << endl; cout << 7 * 7 * PI << endl; cout << 9 * 9 * PI << endl; return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:3:5: error: 'cout' was not declared in this scope
     cout << 1 * 1 * PI << endl;
     ^
Main.cc:3:27: error: 'endl' was not declared in this scope
     cout << 1 * 1 * PI << endl;
                           ^