Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
129609 刘明睿 04计算平均分 C++ Compile Error 0 MS 0 KB 453 2025-08-29 19:30:47

Tests(0/0):


Code:

#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ double r,p; cin>>r; p=3.1415926; printf("%.2lf",p*r*r); return 0;#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcp } }


Run Info:

Main.cc:12:14: error: stray '#' in program
     return 0;#include  // cin\cout\endl
              ^
Main.cc: In function 'int main()':
Main.cc:12:15: error: 'include' was not declared in this scope
     return 0;#include  // cin\cout\endl
               ^
Main.cc:12:31: error: expected primary-expression before '>' token
     return 0;#include  // cin\cout\endl
                               ^
Main.cc:15:1: error: expected primary-expression before '}' token
 }
 ^
Main.cc: At global scope:
Main.cc:16:1: error: expected declaration before '}' token
 }
 ^