Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
137240 龚梓嘉 统计各数据个数 C++ 通过 100 13 MS 240 KB 217 2024-03-09 17:47:26

Tests(10/10):


#include<bits/stdc++.h> using namespace std; int a[110]; int main(){ int x, cnt = 0; while(cin >> x){ cnt++; a[x]++; } cout << cnt << endl; for(int i = 0; i <= 20; i++){ cout << a[i] << " "; } }


测评信息: