Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
115375 | 陈冠樾 | 04圆的面积 | C++ | Compile Error | 0 MS | 0 KB | 195 | 2025-03-30 13:01:27 |
#include <bits/stdc++.h> using namespace std; int main() { double PAI=3.1415926,r,s; cin>>r; s=PAI*r*r; printf("%.2f",s) //cout<<fixed<<setprecision(2)<<s<<endl; return 0; }
Main.cc: In function 'int main()': Main.cc:13:1: error: expected ';' before 'return' return 0; ^