摘要: ``` #include using namespace std; int main() { int n; cin>>n; int f1=1; int f2=1; int f3; if(n==1||n==2){ cout<<1; return 0; } for(int i=3;i<=n;i++){ f3=f2+f1; f1=f2%10007; f2=f3%10007; } cout<<f3%100 阅读全文
posted @ 2020-01-09 20:47 ZC_Wang 阅读(131) 评论(0) 推荐(0) 编辑
摘要: ``` #include #include #include using namespace std; int main() { double PI = atan(1.0)*4; double r; cin>>r; cout << fixed << setprecision(7)<<PI*r*r; return 0; } ``` 阅读全文
posted @ 2020-01-09 20:25 ZC_Wang 阅读(98) 评论(0) 推荐(0) 编辑