Run ID | 作者 | 问题 | 语言 | 测评结果 | 分数 | 时间 | 内存 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|---|
10912 | D班-陈颖钧 | A+B ProblemIX | C++ | 编译错误 | 0 | 0 MS | 0 KB | 380 | 2025-05-25 14:57:32 |
#include<bits/stdc++.h> using namespace std; int i,n,a[1000],j; int main(){ cin>>n; for(i=1;i<=n;i++){ for(j=1;j<=6;j++){ cin>>a[j]; } for(j=1;j<=6;j++){ b[a[j]]++; } for(j=1;j<=100;j++){ if(b[j]>0){ cout<<j<<' '; } } cout<<endl; } }