Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
137134 Microsoft 统计各数据个数 C++ 解答错误 0 7 MS 252 KB 213 2024-03-09 17:35:54

Tests(0/10):


#include<bits/stdc++.h> using namespace std; int main(){ int n=0; int a[21]={0}; int x; while(scanf("%d",&x)==1){ n++; a[x]++; } for(int i=0;i<=20;i++){ printf("%d",a[i]); } return 0; }


测评信息: