Problem | scicom |
---|---|
User | Roucy |
Submission Time | 2025-06-20 12:51:44 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
scicom.cpp: In function ‘int main()’:
scicom.cpp:8:4: error: expected ‘(’ before string constant
8 | if "medal"=bronze;
| ^~~~~~~
| (
scicom.cpp:9:13: error: expected ‘;’ before ‘bronze’
9 | cout<<"name" bronze;
| ^~~~~~~
| ;
scicom.cpp:10:4: error: expected ‘(’ before string constant
10 | if "medal"=silver;
| ^~~~~~~
| (
scicom.cpp:11:13: error: expected ‘;’ before ‘silver’
11 | cout<<"name" silver;
| ^~~~~~~
| ;
scicom.cpp:12:4: error: expected ‘(’ before string constant
12 | if "medal"=gold;
| ^~~~~~~
| (
scicom.cpp:13:7: error: unable to find string literal operator ‘operator""gold’ with ‘const char [5]’, ‘long unsigned int’ arguments
13 | cout<<"name"gold;
| ^~~~~~~~~~