| Problem | ippt |
|---|---|
| User | XiYangYang |
| Submission Time | 2026-02-04 14:52:56 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
ippt.cpp: In function ‘int main()’:
ippt.cpp:11:9: error: expected ‘(’ before ‘:’ token
11 | switch:
| ^
| (
ippt.cpp:14:4: error: break statement not within loop or switch
14 | break;
| ^~~~~
ippt.cpp:15:14: error: the value of ‘res’ is not usable in a constant expression
15 | case res < 75:
| ^~
ippt.cpp:10:7: note: ‘int res’ is not const
10 | int res = a + b + c;
| ^~~
ippt.cpp:15:3: error: case label ‘(res < 75)’ not within a switch statement
15 | case res < 75:
| ^~~~
ippt.cpp:17:4: error: break statement not within loop or switch
17 | break;
| ^~~~~
ippt.cpp:18:14: error: the value of ‘res’ is not usable in a constant expression
18 | case res < 85:
| ^~
ippt.cpp:10:7: note: ‘int res’ is not const
10 | int res = a + b + c;
| ^~~
ippt.cpp