3 条题解
- 1
信息
- ID
- 144
- 时间
- 1000ms
- 内存
- 256MiB
- 难度
- 1
- 标签
- 递交数
- 182
- 已通过
- 47
- 上传者
#include<bits/stdc++.h>
using namespace std;
int a;
int main(){
freopen("bus.in", "r", stdin);
freopen("bus.out", "w", stdout);
cin>>a;
if(a < 200){
cout << a;
}
else if(a <= 300){
cout << a + 50;
}
else if(a <= 500){
cout << a + 100;
}
else{
cout << a + 200;
}
return 0;
}