AOC2023: Use the default sort algorithm
This commit is contained in:
parent
be657b9b18
commit
7bb3172591
|
@ -116,7 +116,7 @@ i64 puzzle(FILE* fp, bool joker)
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
BAN::sort_quick(hands.begin(), hands.end(),
|
BAN::sort(hands.begin(), hands.end(),
|
||||||
[joker] (const Hand& lhs, const Hand& rhs) {
|
[joker] (const Hand& lhs, const Hand& rhs) {
|
||||||
return hand_score(lhs, joker) < hand_score(rhs, joker);
|
return hand_score(lhs, joker) < hand_score(rhs, joker);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue