社区讨论
debug
灌水区参与者 2已保存回复 2
讨论操作
快速查看讨论及其快照的属性,并进行相关操作。
- 当前回复
- 2 条
- 当前快照
- 1 份
- 快照标识符
- @lqmgg02e
- 此快照首次捕获于
- 2023/12/26 22:41 2 年前
- 此快照最后确认于
- 2023/12/27 15:38 2 年前
题目传送```
#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; }
CPP}
return 0; }
回复
共 2 条回复,欢迎继续交流。
正在加载回复...