Problem artswap
User ZivTheONe
Submission Time 2024-11-25 20:44:38
Score 0
Max Time N/A
Max Memory N/A

Compile Error

artswap.cpp: In function ‘void artswap(int, long long int, int, int)’:
artswap.cpp:83:43: error: expected primary-expression before ‘|’ token
83 | else {answer(1, 2); answer(2, 1);|
| ^
artswap.cpp:84:3: error: expected primary-expression before ‘return’
84 | return;
| ^~~~~~
artswap.cpp:144:1: error: expected ‘}’ at end of input
144 | }
| ^
artswap.cpp:80:47: note: to match this ‘{’
80 | void artswap(int N, long long E, int S, int Q){
| ^