Problem swords
User huyleisme
Submission Time 2024-02-20 17:16:19
Score 0
Max Time N/A
Max Memory N/A

Compile Error

swords.cpp: In function ‘int main()’:
swords.cpp:27:16: error: expected primary-expression before ‘=’ token
27 | if (atk[i] === max_x) {
| ^
swords.cpp:34:16: error: expected primary-expression before ‘=’ token
34 | if (def[j] === max_y) {
| ^
swords.cpp:40:6: error: ‘a’ was not declared in this scope
40 | if (a == b) {
| ^
swords.cpp:40:11: error: ‘b’ was not declared in this scope
40 | if (a == b) {
| ^