题解 | 牛牛的圆
牛牛的圆
https://www.nowcoder.com/practice/75a202e826d048a39824ec694b5ce7e3
#include <iostream>
#include<iomanip>
using namespace std;
int main() {
int r;
cin >> r;
float s = 3.14*r*r;
cout << fixed << setprecision(2) << s << endl;
}
// 64 位输出请用 printf("%lld")
查看16道真题和解析