Problem ippt
User joevincent1987
Submission Time 2023-12-02 20:40:29
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ippt.cpp: In function ‘void end(int)’:
ippt.cpp:9:13: error: ‘s’ is not a constant expression
9 | case s <= 60:
| ^~
ippt.cpp:12:13: error: ‘s’ is not a constant expression
12 | case s <= 74:
| ^~
ippt.cpp:15:13: error: ‘s’ is not a constant expression
15 | case s <= 84:
| ^~
ippt.cpp: In function ‘int main()’:
ippt.cpp:32:13: error: expected ‘;’ before ‘}’ token
32 | state += a
| ^
| ;
33 | }
| ~