版本比较
+1 −1增加 1 行删除 1 行
105 行未改动全部展开106107108109110110111105 行未改动全部展开 if(ans[i]==m+1) cout<<"-1 "; else cout<<ans[i]<<" "; } return 0;} }```