Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|---|
10914 | 陈颖钧 | A+B ProblemIX | C++ | Wrong Answer | 0 | 1 MS | 264 KB | 390 | 2025-05-25 14:58:51 |
#include<bits/stdc++.h> using namespace std; int i,n,a[1000],j,b[1000]; int main(){ cin>>n; for(i=1;i<=n;i++){ for(j=1;j<=6;j++){ cin>>a[j]; } for(j=1;j<=100;j++){ b[a[j]]++; } for(j=1;j<=100;j++){ if(b[j]>0){ cout<<j<<' '; } } cout<<endl; } }