Problem ippt
User Hongrui
Submission Time 2026-11-12 18:53:06
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ippt.cpp: In function ‘int main()’:
ippt.cpp:17:17: error: expected ‘;’ before ‘if’
17 | sum = a + b + c
| ^
| ;
18 | if(sum >= 85){
| ~~
ippt.cpp:21:2: error: ‘else’ without a previous ‘if’
21 | else if(sum >= 75){
| ^~~~
ippt.cpp:29:2: error: expected ‘}’ at end of input
29 | }
| ^
ippt.cpp:11:15: note: to match this ‘{’
11 | signed main() {
| ^