Problem | scicom |
---|---|
User | Roucy |
Submission Time | 2025-06-20 12:49:42 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
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:7: error: unable to find string literal operator ‘operator""gold’ with ‘const char [5]’, ‘long unsigned int’ arguments
12 | cout<<"name"gold;
| ^~~~~~~~~~