Problem scicom
User Roucy
Submission Time 2025-06-20 12:57:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

scicom.cpp: In function ‘int main()’:
scicom.cpp:7:4: error: expected ‘(’ before string constant
7 | if "medal"= bronze;
| ^~~~~~~
| (
scicom.cpp:8:13: error: expected ‘;’ before ‘bronze’
8 | cout<<"name" bronze;
| ^~~~~~~
| ;
scicom.cpp:9:4: error: expected ‘(’ before string constant
9 | if "medal"= silver;
| ^~~~~~~
| (
scicom.cpp:10:13: error: expected ‘;’ before ‘silver’
10 | cout<<"name" silver;
| ^~~~~~~
| ;
scicom.cpp:11:4: error: expected ‘(’ before string constant
11 | if "medal"=gold;
| ^~~~~~~
| (
scicom.cpp:12:13: error: expected ‘;’ before ‘gold’
12 | cout<<"name" gold;
| ^~~~~
| ;