Problem | sana |
---|---|
User | JustKitkat |
Submission Time | 2024-12-30 16:18:17 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sana.cpp: In function ‘long long int solve(long long int)’:
sana.cpp:70:21: error: expected ‘;’ before ‘)’ token
70 | return (n+a[1])%256);
| ^
| ;
sana.cpp:70:21: error: expected primary-expression before ‘)’ token
sana.cpp:73:3: error: return-statement with no value, in function returning ‘long long int’ [-fpermissive]
73 | return;
| ^~~~~~
sana.cpp:102:52: error: return-statement with no value, in function returning ‘long long int’ [-fpermissive]
102 | if(p2[0]!=-1 and p1[0]!=-1 and orihigh%2==0){no();return;}
| ^~~~~~
sana.cpp:110:3: error: return-statement with no value, in function returning ‘long long int’ [-fpermissive]
110 | return;
| ^~~~~~
sana.cpp:115:4: error: return-statement with no value, in function returning ‘long long int’ [-fpermissive]
115 | return;
| ^~~~~~