0
1
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:
Baoshuo Ren 2021-09-18 20:07:45 +08:00 committed by Baoshuo Ren
parent 031765e9a0
commit 24b8b5d7a2
Signed by: baoshuo
GPG Key ID: 70F90A673FB1AB68

19
AtCoder/ABC219/A/A.cpp Normal file
View 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;
}