竞赛
考级
法兰西玫瑰
普通解 函数解 欢迎加入团队:进步的蜗牛 欢迎在我的题单做题
i amthebest™搬至洛谷
思路分析 其实我们这道题只要会判断就行了,很简单的哦 答案 广告时间 我和“City of Hackers”的小伙伴都在ACGO等你,快用这个专属链接加入我们吧!https://www.acgo.cn/application/1786225240849158144 提问时间!
𝓢𝓷𝓾𝓰𝓰𝓵𝓮
#include<bits/stdc++.h> using namespace std; int main(){ int n; cin >> n; if(n >= 300) cout << 100; else if(n >= 200) cout << 50; else if(n >= 100) cout << 20; else cout << 0; return 0; }
DARK SPECTRE
zyz610
> 这道题去掉一句话就很难了
一时想起,四季等你
切水题
dchk-SY
#include <bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; if(n>=100 && n<200){ cout<<"20"; }else if(n>=200 && n<300){ cout<<"50"; }else if(n>=300){ cout<<"100"; } return 0; }
倒车请故意
#include <bits/stdc++.h> using namespace std; int main() { int x; cin >> x; if(x>=100 && x<=200){ cout << 20; } else if(x>=200 && x<=300){ cout << 50; } else { cout << 100; } return 0; }
186 3599
#include <iostream> using namespace std; int main(){ int x; cin>>x; if(x>=100&&x<200){ cout<<20; }else if(x>=200&&x<300){ cout<<50; }else cout<<100; return 0; }
135****5269
yh26zhuenaf
#include <bits/stdc++.h> using namespace std; int main(){ int a; cin>>a; if(a>=300){ cout<<"100"; }else if(a<300&&a>=200){ cout<<"50"; }else if(a<200&&a>=100){ cout<<"20"; } return 0; }
IV-Luca(卢卡)
zsy
有事找大号
正在减肥的吃货