Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
114757 张修睿 04圆的面积 C++ Compile Error 0 MS 0 KB 170 2025-03-23 13:26:01

Tests(0/0):


Code:

#include<bits/stdc++.h> using namespace std; int main() { double PAI=3.1415926; cin>>r; s=PAI*r*r; cout<<fixed<<setprecision(3)<<d<<endl; return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:5:7: error: 'r' was not declared in this scope
  cin>>r;  
       ^
Main.cc:6:3: error: 's' was not declared in this scope
   s=PAI*r*r;
   ^
Main.cc:7:33: error: 'd' was not declared in this scope
   cout<