Problem topsilver
User jaydenlol
Submission Time 2026-06-26 13:10:39
Score 0
Max Time N/A
Max Memory N/A

Compile Error

topsilver.cpp: In function ‘int main()’:
topsilver.cpp:7:12: error: lvalue required as left operand of assignment
7 | if (x-y = 1) {
| ^
topsilver.cpp:8:7: error: expected ‘;’ before string constant
8 | cout "top silver";
| ^~~~~~~~~~~~~
| ;
topsilver.cpp:11:7: error: expected ‘;’ before string constant
11 | cout "womp womp";
| ^~~~~~~~~~~~
| ;
topsilver.cpp:14:7: error: expected ‘;’ before string constant
14 | cout "lucky"
| ^~~~~~~~
| ;