Problem | psle |
---|---|
User | astrohiro |
Submission Time | 2024-02-23 00:56:57 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
psle.cpp: In function ‘int main()’:
psle.cpp:8:26: error: the value of ‘s’ is not usable in a constant expression
8 | case (s >= 91 && s <=100):
| ^
psle.cpp:5:6: note: ‘int s’ is not const
5 | int s ;
| ^
psle.cpp:8:26: error: the value of ‘s’ is not usable in a constant expression
8 | case (s >= 91 && s <=100):
| ^
psle.cpp:5:6: note: ‘int s’ is not const
5 | int s ;
| ^
psle.cpp:11:25: error: the value of ‘s’ is not usable in a constant expression
11 | case (s >= 75 && s <=90):
| ^
psle.cpp:5:6: note: ‘int s’ is not const
5 | int s ;
| ^
psle.cpp:11:25: error: the value of ‘s’ is not usable in a constant expression
11 | case (s >= 75 && s <=90):
| ^
psle.cpp:5:6: note: ‘int s’ is not const
5 | int s ;<