#include<bits/stdc++.h>
using namespace std;
int main ()
{
int a[1000];
int k,count1=0,count2=0,count3=0;
cin>>k;
for(int i=1;i<=k;i++)
{
cin>>a[i];
if(a[i]==1)
{
count1++;
}
if(a[i]==5)
{
count2++;
}
if(a[i]==10)
{
count3++;
}
}
cout<<count1<<endl;
cout<<count2<<endl;
cout<<count3<<endl;
return 0;
}
1067:整数的个数
于 2022-11-22 10:45:45 首次发布