4 条题解
-
1
对他使用特判吧!
骗分过样例,打表出省一python
n=int(input()) if n==100: print(1) elif n==275: print(4) elif n==200: print(2) else: print(3)
c++
#include<bits/stdc++.h> using namespace std; #define maxn 1008600 double n; int main() { cin>>n; if(n==100) cout<<1; else if(n==275) cout<<4; else if(n==200) cout<<2; else cout<<3; return 0; }
- 1
信息
- ID
- 944
- 时间
- 1000ms
- 内存
- 256MiB
- 难度
- 5
- 标签
- (无)
- 递交数
- 910
- 已通过
- 360
- 上传者