| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 157812 | 谭鑫哲 | 12满足条件的四位数 | C++ | Accepted | 10 MS | 272 KB | 222 | 2026-08-18 09:59:36 |
#include<bits/stdc++.h> using namespace std; int main() { int n,m,x,y=0; cin>>n; for(m=n;m>=1;m-=1){ cin>>x; if(x%10-x/1000-x/100%10-x/10%10>0){ y+=1; } } cout<<y; return 0; }