题解
2026-08-24 13:11:51
发布于:内蒙古
20阅读
0回复
0点赞
#include <bits/stdc++.h>
using namespace std;
int main(){
int x;
cin>>x;
if(x<100)cout<<x;
else if(x>=200){
x-=50;
if(x>=100)x-=20;
cout<<x;
}
else cout<<x-20;
return 0;}
这里空空如也




有帮助,赞一个