Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
160468 江俊逸 03圆的面积 C++ Compile Error 0 MS 0 KB 469 2026-09-19 14:34:05

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(){ doudle pai=3.141592; int r1=1,r2=3,r3=5,r4=7,r5=9 cout<<pai*r1*r1<<endl; cout<<pai*r2*r2<<endl; cout<<pai*r3*r3<<endl; cout<<pai*r4*r4<<endl; cout<<pai*r5*r5<<endl; return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:8:5: error: 'doudle' was not declared in this scope
     doudle pai=3.141592;
     ^
Main.cc:10:5: error: expected ',' or ';' before 'cout'
     cout<