摘要: include <bits/stdc++.h> using namespace std; int n; int main( ) { cin >> n; cout << n/100 << endl; n=n%100; cout << n/50 << endl; n=n%50; cout << n/20 阅读全文
posted @ 2024-10-18 13:38 浩瀚宇宙星晨 阅读(14) 评论(0) 推荐(0) 编辑
摘要: include <bits/stdc++.h> using namespace std; double z, c, p; int main( ) { cin >> z >> c >> p; cout << z/10020+c/10030+p/100*50; return 0; } 反思:设定的代码块 阅读全文
posted @ 2024-10-18 13:37 浩瀚宇宙星晨 阅读(7) 评论(0) 推荐(0) 编辑
摘要: include <bits/stdc++.h> using namespace std; double r, pi=3.14; int main( ) { cin >> r; cout << fixed << setprecision(2)<< 4.0/3.0pirrr; return 0; } 球 阅读全文
posted @ 2024-10-18 13:33 浩瀚宇宙星晨 阅读(36) 评论(0) 推荐(0) 编辑