Problem swords
User loverin
Submission Time 2023-04-11 09:23:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

swords.cpp: In function ‘int main()’:
swords.cpp:6:17: error: ‘second’ was not declared in this scope
6 | #define defense second
| ^~~~~~
swords.cpp:19:33: note: in expansion of macro ‘defense’
19 | if (swords[i].defense > defense) {
| ^~~~~~~