Problem psle
User ov5rki11
Submission Time 2025-07-28 18:47:12
Score 0
Max Time N/A
Max Memory N/A

Compile Error

psle.cpp: In function ‘int32_t main()’:
psle.cpp:8:14: error: the value of ‘tmp’ is not usable in a constant expression
8 | case tmp > 90:
| ^~
psle.cpp:6:6: note: ‘long long int tmp’ is not const
6 | int tmp; cin >> tmp;
| ^~~
psle.cpp:8:14: error: the value of ‘tmp’ is not usable in a constant expression
8 | case tmp > 90:
| ^~
psle.cpp:6:6: note: ‘long long int tmp’ is not const
6 | int tmp; cin >> tmp;
| ^~~
psle.cpp:10:9: error: expected ‘;’ before ‘case’
10 | break
| ^
| ;
11 | case (tmp > 75) and (tmp < 91):
| ~~~~
psle.cpp:11:32: error: the value of ‘tmp’ is not usable in a constant expression
11 | case (tmp > 75) and (tmp < 91):
| ^
psle.cpp:6:6: note: ‘long long int tmp’ is not const
6 | int tmp; cin &g