mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-11-05 09:18:47 +00:00
20 lines
338 B
C++
20 lines
338 B
C++
#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;
|
|
}
|