Problem ippt
User themanisvan
Submission Time 2024-11-11 14:08:15
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ippt.cpp: In function ‘int main()’:
ippt.cpp:11:2: error: expected primary-expression before ‘if’
11 | if (a == 0 or b == 0 or c == 0){
| ^~
ippt.cpp:14:2: error: ‘else’ without a previous ‘if’
14 | else if((a+b+c)<= 60){
| ^~~~
ippt.cpp:24:17: error: expected ‘)’ before ‘;’ token
24 | cout << "GOLD";
| ^
| )
ippt.cpp:23:6: note: to match this ‘(’
23 | else(
| ^
ippt.cpp:25:2: error: expected primary-expression before ‘)’ token
25 | )
| ^