| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 69618 | 杨一诺 | 12满足条件的四位数 | C++ | Accepted | 1 MS | 272 KB | 206 | 2024-04-06 09:40:56 |
#include<bits/stdc++.h> using namespace std; int main(){ int a,b,c,d,e,f=0; cin>>a; for(int i=1;i<=a;i++){ scanf("%1d%1d%1d%1d",&b,&c,&d,&e); if((e-b-d-c)>0){ f++; } } cout<<f; }