Problem scicom
User Roucy
Submission Time 2025-06-20 15:19:30
Score 0
Max Time N/A
Max Memory N/A

Compile Error

scicom.cpp: In function ‘int main()’:
scicom.cpp:12:1: error: ‘else’ without a previous ‘if’
12 | else (bool medal=gold);
| ^~~~
scicom.cpp:12:7: error: expected primary-expression before ‘bool’
12 | else (bool medal=gold);
| ^~~~
scicom.cpp:12:7: error: expected ‘)’ before ‘bool’
12 | else (bool medal=gold);
| ~^~~~
| )