Problem swords
User GanJaeHan
Submission Time 2026-02-20 17:02:23
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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