Problem swords
User Hunchbacker9000
Submission Time 2024-02-23 10:28:35
Score 0
Max Time N/A
Max Memory N/A

Compile Error

swords.cpp: In function ‘int main()’:
swords.cpp:30:7: error: ‘swords_collection’ was not declared in this scope
30 | sort(swords_collection.begin(), swords.end());
| ^~~~~~~~~~~~~~~~~
swords.cpp:37:23: error: ‘max_defence’ was not declared in this scope
37 | if(swords[i].second>max_defence){
| ^~~~~~~~~~~