| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 85005 | sh25_zhuhy | 整数的个数 | C++ | Accepted | 0 MS | 244 KB | 307 | 2026-03-05 20:39:32 |
#include<iostream> using namespace std; int main(){ int n,s1=0,s5=0,s10=0,k; cin>>n; for(int i=0;i<n;++i){ cin>>k; if(k==1) ++s1; else if(k==5) ++s5; else if(k==10) ++s10; } cout<<s1<<endl; cout<<s5<<endl; cout<<s10; return 0; }