Problem swords
User placeholder
Submission Time 2025-11-13 18:17:44
Score 0
Max Time N/A
Max Memory N/A

Compile Error

swords.cpp: In function ‘int main()’:
swords.cpp:15:2: error: ‘sort’ was not declared in this scope; did you mean ‘qsort’?
15 | sort(swordThings.begin(), swordThings.end(), [](const std::pair<int, int>& a, const std::pair<int, int>& b) {return a.first > b.first;});
| ^~~~
| qsort