Problem charges
User Dynonychus
Submission Time 2024-01-11 20:50:05
Score 0
Max Time N/A
Max Memory N/A

Compile Error

charges.cpp: In function ‘int main()’:
charges.cpp:38:4: error: expected ‘,’ or ‘;’ before ‘pair’
38 | pair<int, bool> pap = par(b);
| ^~~~
charges.cpp:40:20: error: ‘pap’ was not declared in this scope; did you mean ‘pa’?
40 | if (pa.first != pap.first)
| ^~~
| pa
charges.cpp:50:4: error: expected ‘,’ or ‘;’ before ‘pair’
50 | pair<int, bool> papup = par(b);
| ^~~~
charges.cpp:52:22: error: ‘papup’ was not declared in this scope; did you mean ‘papu’?
52 | if (papu.first != papup.first)
| ^~~~~
| papu
charges.cpp:54:20: error: ‘r’ was not declared in this scope
54 | {(papup.first, (r ^ papu.second) ^ (papup.second)};
| ^
charges.cpp:54:53: error: expected ‘)’ before ‘}’ token
54 | {(papup.first, (r ^ papu.second) ^ (papup.second)};