8 条题解

  • 0
    @ 2024-4-19 16:50:03

    #include<bits/stdc++.h> using namespace std; int main(){ int n,x,y=0; cin>>n; for(int q=1;q<=n;q++){ cin>>x; if((x%10)-(x/100%10)-(x/10%10)-(x/1000%10)>0){ y++; } }cout<<y; return 0; }

    信息

    ID
    1242
    时间
    1000ms
    内存
    128MiB
    难度
    3
    标签
    (无)
    递交数
    349
    已通过
    192
    上传者