Problem | palindromicfizzbuzz |
---|---|
User | sussygoose |
Submission Time | 2024-02-24 10:02:48 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
palindromicfizzbuzz.cpp: In function ‘int main()’:
palindromicfizzbuzz.cpp:22:19: error: lvalue required as left operand of assignment
22 | if (swap(x+m)=x+m){
| ^
palindromicfizzbuzz.cpp:26:3: error: ‘else’ without a previous ‘if’
26 | else{
| ^~~~
palindromicfizzbuzz.cpp:27:12: error: ‘m’ was not declared in this scope
27 | cout<<x+m<<endl;
| ^
palindromicfizzbuzz.cpp: At global scope:
palindromicfizzbuzz.cpp:30:2: error: expected unqualified-id before ‘return’
30 | return 0;
| ^~~~~~
palindromicfizzbuzz.cpp:31:1: error: expected declaration before ‘}’ token
31 | }
| ^