| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 143551 | 陈家宝 | 统计各数据个数 | C++ | Accepted | 100 | 13 MS | 640 KB | 210 | 2024-04-16 16:41:21 |
#include<bits/stdc++.h> using namespace std; int a[1000001],b[1000001],n=1; int main(){ while(cin>>a[n]){ b[a[n]]++; n++; } cout<<n-1<<endl; for(int i=0;i<21;i++)cout<<b[i]<<" "; return 0; }