You need stateful comparator to use STL sort for this problem, your comparefn() cannot be used here. Let us consider the following input: [3,0 2,1 1,1].
確定! 回上一頁