@[landernal](/user/521302) ?我能运行啊
by Br00k5xx @ 2022-06-14 08:31:51
@[Brooksx](/user/529247) ?
by landernal @ 2022-06-14 08:32:15
@[landernal](/user/521302) ![](https://cdn.luogu.com.cn/upload/image_hosting/q1il3jae.png)
by Br00k5xx @ 2022-06-14 08:33:46
@[Brooksx](/user/529247) 你把样例输进去就运行不了了
by landernal @ 2022-06-14 08:36:18
@[landernal](/user/521302) uhh,好像不是 sort 的问题吧
by Br00k5xx @ 2022-06-14 08:37:12
@[Brooksx](/user/529247) 那你帮我看看呗
by landernal @ 2022-06-14 08:38:41
@[landernal](/user/521302) `sort(t + 1, w + n + 1, cmp1);`两个数组?
by Dream_weavers @ 2022-06-14 09:05:07
楼上正解 楼主估计手滑了
by ethanhyz @ 2022-06-14 09:52:00
(lll¬ω¬)
by Mr_Terminator @ 2022-06-14 09:57:09
正解,就是 `sort` 迭代器的问题
by 昒昕 @ 2022-06-14 09:57:36