@[nothing_exe_studio](/user/1108078) ` for (int i = ans.size(); i > 0; i--) {` vector 下标从0开始
by xiaoshumiao @ 2024-02-22 19:16:19
@[xiaoshumiao](/user/1008513) 有没有可能他后面还有 `swap(anscor[i], anscor[i - 1]);`,所以枚举到第二个
by Nuyoah_awa @ 2024-02-22 20:00:45
@[Nuyoah_awa](/user/551108) sorry没看到上面一行,眼瞎
by Nuyoah_awa @ 2024-02-22 20:02:41
不应该从 ans.size()-1 开始吗
by diqiuyi @ 2024-02-22 20:11:56