Problem | psle |
---|---|
User | ov5rki11 |
Submission Time | 2025-07-28 18:47:54 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
psle.cpp: In function ‘int32_t main()’:
psle.cpp:7:19: error: switch quantity not an integer
7 | switch(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;
| ^~~
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;
| ^~~
psle.cpp:14:32: error: the value of ‘tmp’ is not usable in a constant expression
14 | case (tmp > 60) and (tmp < 75):
| ^
psle.cpp:6:6: note: ‘long long int tmp’ is not const
6 | int tmp;
| ^~~
psle.cpp:17:32: error: the value of ‘tmp’