版本比较
+1 −1增加 1 行删除 1 行
112 行未改动全部展开11311411511611711711811912012115 行未改动112 行未改动全部展开 ios::sync_with_stdio(false); cin.tie(nullptr); cout.tie(nullptr); cin>>n; for(int i=1,x;i<=n;i++) for(int i=1,x;i<=n;i++) { cin>>x; if(t[x]==0) num[++cnt]=x; t[x]++;15 行未改动