| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 312173 | 韩雨航 | 【C2-6】统计数字 | C++ | Accepted | 100 | 0 MS | 252 KB | 278 | 2025-03-09 19:51:41 |
#include <iostream> using namespace std; int main(){ int n,a,t=0,t1=0,t2=0; cin>>n; for(int i=1;i<=n;i++){ cin>>a; if(a>=100&&a<=999){ t++; }else if(a>=1000&&a<=9999){ t1++; }else if(a>=10000&&a<=99999){ t2++; } }cout<<t<<" "<<t1<<" "<<t2; return 0; }