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

Compile Error

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