3 条题解

  • 0
    @ 2023-6-11 11:05:49

    #include<bits/stdc++.h> using namespace std; int main(){ string s; int ans=0; cin>>s; for(int i=0;i<s.length();i++) if(s[i]=='0') ans++; cout<<ans; return 0; }

    • 0
      @ 2023-6-11 10:55:51

      image

      • -1
        @ 2024-5-25 14:11:14

        #include<bits/stdc++.h> using namespace std; int main(){ string s; int ans=0; cin>>s; for(int i=0;i<s.length();i++) if(s[i]=='0') ans++; cout<<ans; return 0;

        }

        • 1

        信息

        ID
        638
        时间
        1000ms
        内存
        256MiB
        难度
        6
        标签
        (无)
        递交数
        16
        已通过
        13
        上传者