Problem swords
User thelusidian
Submission Time 2025-01-23 12:55:59
Score 0
Max Time N/A
Max Memory N/A

Compile Error

swords.cpp: In function ‘int main()’:
swords.cpp:16:25: error: ‘index2’ was not declared in this scope; did you mean ‘index’?
16 | while (swords.size() > index2){
| ^~~~~~
| index