测试点10RE了
by AlexSong @ 2024-02-01 10:53:10
可能是vector出错了,建议改第7行为`for(int i=0;i<v.size();i++)`,我也这么错过。
如果还不对,建议百度`next_permutation`
by Luke_li @ 2024-02-01 11:04:48
@[AlexSong](/user/1004299)
by Luke_li @ 2024-02-01 11:05:00
@[Luke_li](/user/539784) 我之前说的有问题,没看题,next_permutation不太能用
by Luke_li @ 2024-02-01 11:07:15
蟹蟹已关
by AlexSong @ 2024-02-01 11:16:34