Problem swords
User Argon160
Submission Time 2024-01-29 15:50:16
Score 0
Max Time N/A
Max Memory N/A

Compile Error

swords.cpp: In function ‘int main()’:
swords.cpp:20:61: error: ‘sworddarr’ was not declared in this scope; did you mean ‘swordarr’?
20 | if (usefulswords[j*2]<swordarr[i*2] && usefulswords[j*2]<sworddarr[i*2+1]{
| ^~~~~~~~~
| swordarr
swords.cpp:20:77: error: expected ‘)’ before ‘{’ token
20 | if (usefulswords[j*2]<swordarr[i*2] && usefulswords[j*2]<sworddarr[i*2+1]{
| ~ ^
| )
swords.cpp:25:3: error: expected primary-expression before ‘}’ token
25 | }
| ^