Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
5152 admin A+B ProblemIX C++ 通过 100 1 MS 264 KB 338 2025-01-23 13:56:21

Tests(1/1):


#include <bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; for (int i = 1;i<=n;i++){ int arr1[7]; int arr2[101] = {0}; for (int j = 0;j<6;j++){ cin>>arr1[j]; arr2[arr1[j]]++; } for (int j = 0;j<101;j++){ if (arr2[j] >= 1){ cout<<j<<" "; } } cout<<endl; } return 0; }


测评信息: