Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
92909 翁思宸 03圆的面积 C++ Accepted 0 MS 264 KB 395 2024-10-06 20:28:29

Tests(1/1):


Code:

#include<iostream> using namespace std; int main(){ float q1,r1,r2,r3,r4,r5,j1,j2,j3,j4,j5; q1=3.1415926; r1=1; r2=3; r3=5; r4=7; r5=9; j1=q1*(r1*r1); j2=q1*(r2*r2); j3=q1*(r3*r3); j4=q1*(r4*r4); j5=q1*(r5*r5); cout<<j1<<endl; cout<<j2<<endl; cout<<j3<<endl; cout<<j4<<endl; cout<<j5<<endl; return 0; }