Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
10913 D班-陈颖钧 A+B ProblemIX C++ 解答错误 0 1 MS 260 KB 388 2025-05-25 14:57:51

Tests(0/1):


#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<=6;j++){ b[a[j]]++; } for(j=1;j<=100;j++){ if(b[j]>0){ cout<<j<<' '; } } cout<<endl; } }


测评信息: