Problem psle
User l
Submission Time 2025-06-19 15:10:28
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 ‘g’ is not usable in a constant expression
9 | case (g>=91):
| ^
psle.cpp:6:6: note: ‘int g’ is not const
6 | int g;
| ^
psle.cpp:9:14: error: the value of ‘g’ is not usable in a constant expression
9 | case (g>=91):
| ^
psle.cpp:6:6: note: ‘int g’ is not const
6 | int g;
| ^
psle.cpp:11:14: error: the value of ‘g’ is not usable in a constant expression
11 | case (g>=75):
| ^
psle.cpp:6:6: note: ‘int g’ is not const
6 | int g;
| ^
psle.cpp:11:14: error: the value of ‘g’ is not usable in a constant expression
11 | case (g>=75):
| ^
psle.cpp:6:6: note: ‘int g’ is not const
6 | int g;
| ^
psle.cpp:13:14: error: the value of ‘g’ is not usable in a constant expression