Run ID Author Problem Lang Verdict Time Memory Code Length Submit Time
44012 yangtianqi 与圆相关的计算 C++ Accepted 1 MS 244 KB 216 2024-03-24 22:08:28

Tests(1/1):


#include<bits/stdc++.h> using namespace std; int main(){ double r=3.0,d,C,S; //r是半径,d是直径,C是周长,S是面积 d=2*r; C=2*3.14159*r; S=3.14159*r*r; printf("%.4lf %.4lf %.4lf",d,C,S); }


Judgement Protocol: