1 条题解

  • 1
    @ 2025-4-1 13:21:54

    #include<bits/stdc++.h> using namespace std; int main(){ int a,s=0,d=0; cin>>a; for(int f=1;f<=a;f++) { int g; cin>>g; if(g%21) s=s+1; if(g%20) d=d+1; } cout<<s<<" "<<d; return 0; }

    • 1

    信息

    ID
    185
    时间
    1000ms
    内存
    64MiB
    难度
    2
    标签
    递交数
    147
    已通过
    96
    上传者