Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
79262 sh25_shenpy 身份证系统 C++ 无测评数据 0 MS 0 KB 279 2026-01-01 17:17:20

Tests(0/0):


#include<bits/stdc++.h> using namespace std; int main(){ int n; int s[n]; cin>>n; for(int i=0;i<n;++i){ cin>>s[i]; } sort(s,s+n); int m=n; for(int j=0;j<n-1;++j){ if(s[j]==s[j+1]){ --m; } } }