mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-12-24 18:31:59 +00:00
A - AtCoder Quiz 2
https://atcoder.jp/contests/abc219/submissions/25924305
This commit is contained in:
parent
031765e9a0
commit
24b8b5d7a2
19
AtCoder/ABC219/A/A.cpp
Normal file
19
AtCoder/ABC219/A/A.cpp
Normal file
@ -0,0 +1,19 @@
|
||||
#include <bits/stdc++.h>
|
||||
|
||||
using namespace std;
|
||||
|
||||
int x;
|
||||
|
||||
int main() {
|
||||
cin >> x;
|
||||
if (x < 40) {
|
||||
cout << 40 - x << endl;
|
||||
} else if (40 <= x && x < 70) {
|
||||
cout << 70 - x << endl;
|
||||
} else if (70 <= x && x < 90) {
|
||||
cout << 90 - x << endl;
|
||||
} else {
|
||||
cout << "expert" << endl;
|
||||
}
|
||||
return 0;
|
||||
}
|
Loading…
Reference in New Issue
Block a user