m
ni ge bi
cin>>n; for(int i=1;i<=n;i++){ cin>>a; if(a1){ x=x+1; } if(a5){ y=y+1; } if(a==10){ z=z+1; } } cout<<x<<endl<<y<<endl<<z; return 0; }
fdddddggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg
注册一个 个人测试记录 通用账户,您就可以在我们提供的所有在线评测服务上提交代码、参与讨论。
使用您的 个人测试记录 通用账户