Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
75673 槐峻锋 余数新定义 C++ 编译错误 0 0 MS 0 KB 435 2026-07-04 16:59:52

Tests(0/0):


#include<bits/stdc++.h> using namespace std; int A,B,C; int a; int main(){ int n;cin>>n; for(int i=0;i<n;i++){ int x;cin>>x; if(x==1)A++; esle if(x==2)B++; else C++; } if(A>B and A>C){ cout<<"A"; a = A; } if(B>C and B>A){ cout<<"B"; a = B; } if(C>B and C>B){ cout<<"C"; a=C; } if(A==B and A==C)cout<<"NONE"; if(A==B )cout<<"NONE"; if(A==C)cout<<"NONE"; if( B=C)cout<<"NONE"; }


测评信息: