Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
90658 | 杜洛雨泽 | 03圆的面积 | C++ | Accepted | 0 MS | 264 KB | 292 | 2024-09-16 11:47:12 |
#include<bits/stdc++.h> using namespace std; int main(){ int r; double PI=3.1415926,s; r=1; s=PI*r*r; cout<<s<<endl; r=3; s=PI*r*r; cout<<s<<endl; r=5; s=PI*r*r; cout<<s<<endl; r=7; s=PI*r*r; cout<<s<<endl; r=9; s=PI*r*r; cout<<s<<endl; return 0; }