Problem ippt
User AndyChen
Submission Time 2026-02-06 14:50:12
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ippt.cpp: In function ‘int main()’:
ippt.cpp:6:12: error: expected primary-expression before ‘or’ token
6 | if (a==0) or (b==0) or (c==0){
| ^~
ippt.cpp:10:16: error: expected identifier before ‘(’ token
10 | if (d<=60)and (d>=0){
| ^
ippt.cpp:13:22: error: expected identifier before ‘(’ token
13 | else if (d<=74) and (d<=61){
| ^
ippt.cpp:16:21: error: expected identifier before ‘(’ token
16 | else if (d<=84)and (d>=75){
| ^
ippt.cpp:20:15: error: expected ‘;’ before ‘}’ token
20 | cout<<"GOLD"
| ^
| ;
21 | }
| ~