Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
67865 张黄源 03圆的面积 C++ Compile Error 0 MS 0 KB 276 2024-03-17 15:16:50

Tests(0/0):


Code:

#include<iostream> using namespace std; int main(){ double a,b,c,d,e,n; a = 1; b = 3; c = 5; d = 7; e = 9; n = 3.1415926 cout << n*a*a << endl; cout << n*b*b << endl; cout << n*c*c << endl; cout << n*d*d << endl; cout << n*e*e << endl; return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:11:2: error: expected ';' before 'cout'
  cout << n*a*a << endl;
  ^