debug
  • 板块灌水区
  • 楼主Xiaonao_Dali
  • 当前回复2
  • 已保存回复2
  • 发布时间2023/12/26 22:40
  • 上次更新2023/12/27 15:38:32
查看原帖
debug
1076621
Xiaonao_Dali楼主2023/12/26 22:40

题目传送``` #include using namespace std; int main(){ int a[2000005]={0}, x,xxs; scanf("%d", &xxs); for(int i = 0; i < xxs; i++){ int n; scanf("%d", &n); for(int j = 0; j < n; j++){ scanf("%d", &x); if(a[x] == 0){ printf("%d ", x); } a[x] = 1; }
}
return 0; }

2023/12/26 22:40
加载中...