Problem swords
User toditisdoingthisforfun
Submission Time 2026-01-11 14:51:42
Score 0
Max Time N/A
Max Memory N/A

Compile Error

swords.cpp: In function ‘int main()’:
swords.cpp:14:2: error: ‘x’ was not declared in this scope
14 | x=a[0];
| ^
swords.cpp:15:2: error: ‘y’ was not declared in this scope
15 | y=d[0];
| ^
swords.cpp:18:12: error: ‘i’ was not declared in this scope
18 | if (x>=a[i] && y>=d[i])
| ^
swords.cpp:26:6: error: ‘b’ was not declared in this scope
26 | y=b[i];
| ^