Rosetta Problems

三元组排序

https://www.acwing.com/problem/content/864