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

Compile Error

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