Problem swords
User pasit
Submission Time 2026-02-08 21:09:21
Score 0
Max Time N/A
Max Memory N/A

Compile Error

swords.cpp: In function ‘int main()’:
swords.cpp:8:2: error: ‘pii’ was not declared in this scope
8 | pii mxa = {0,0},mxb = {0,0};
| ^~~
swords.cpp:8:17: error: expected primary-expression before ‘,’ token
8 | pii mxa = {0,0},mxb = {0,0};
| ^
swords.cpp:8:18: error: ‘mxb’ was not declared in this scope
8 | pii mxa = {0,0},mxb = {0,0};
| ^~~
swords.cpp:12:10: error: ‘mxa’ was not declared in this scope
12 | if(a > mxa.first)
| ^~~
swords.cpp:17:6: error: expected ‘;’ before numeric constant
17 | cout 2-(mxa == mxb);
| ^~
| ;