Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
70808 sh25_wangsj 整数的个数 C++ 编译错误 0 MS 0 KB 368 2025-10-20 20:03:26

Tests(0/0):


#include<bits/stdc++.h> using namespace std; int main(){ int a,y,one=0,five=0,ten=0; cin>>a; for(int i=0;i<a){ cin>>y; if(y==1){ one++; } else if(y==5){ five++; } else if(y==10){ ten++; } } cout<<one<<" "<<five<<" "<<ten; return 0; }


测评信息: