Run ID | 作者 | 问题 | 语言 | 测评结果 | 分数 | 时间 | 内存 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|---|
328868 | 黄浙峰老师 | 【C1-9】圆环面积 | C++ | 通过 | 100 | 3 MS | 252 KB | 173 | 2025-07-07 15:59:32 |
#include<iostream> #include<iomanip> using namespace std; int main(){ double r1,r2; cin>>r1>>r2; cout<<fixed<<setprecision(6)<<3.14*r1*r1-3.14*r2*r2; return 0; }