0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-09-20 14:05:25 +00:00
OI-codes/AtCoder/ABC219/A/A.cpp

20 lines
338 B
C++
Raw Normal View History

#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;
}