| Run ID | 作者 | 问题 | 语言 | 测评结果 | 时间 | 内存 | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 70806 | sh25_wangsj | 整数的个数 | C++ | 编译错误 | 0 MS | 0 KB | 374 | 2025-10-20 20:02:25 |
#include<bits/stdc++.h> using namespace std; int main(){ int a,y,one=0,five=0,ten=0; cin>>a; for(int i=0;i<k;i++){ cin>>y; if(y==1){ one++; } else if(y==5){ five++; } else if(y==10){ ten++; } } cout<<cnt1<<" "<<cnt2<<" "<<cnt3; return 0; }