Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
100975 | 杜洛雨泽 | 12满足条件的四位数 | C++ | Accepted | 1 MS | 272 KB | 203 | 2024-12-14 12:00:05 |
#include<bits/stdc++.h> using namespace std; int main(){ int x,y,z=0; cin>>x; for(int i=1;i<=x;i++){ cin>>y; if(y%10-y/1000-y/10%10-y/100%10>0){ z++; } } cout<<z; return 0; }