4 solutions

  • 0
    @ 2025-7-7 10:42:10

    #include<bits/stdc++.h> using namespace std; int main() { int n; cin>>n; if(n==0) cout<<"YES"; else cout<<"NO"; return 0; }

    • 0
      @ 2025-7-3 9:41:57
      #include<bits/stdc++.h>
      using namespace std;
      int main()
      {
          int a;
          cin>>a;
          if(a==0) cout<<"YES";
          else cout<<"NO";
      }
      
      • -1
        @ 2025-1-12 20:46:37
        #include<bits/stdc++.h>
        using namespace std;
        int main()
        {
            int a;
            cin>>a;
            if(!!a)
            {
                cout<<"NO";
            }
            else
            {
                cout<<"YES";
            }
            return 0;
        }
        
        • -1
          @ 2024-7-17 19:05:23
          #include <bits/stdc++.h>
          using namespace std;
          int main ()
          {
              int w;
              cin>>w;
              if (w==0)
              {
                  cout<<"YES";
              }
              else
              {
                  cout<<"NO";
              }
              return 0;
          }
          
          
          • 1

          Information

          ID
          20
          Time
          1000ms
          Memory
          256MiB
          Difficulty
          2
          Tags
          (None)
          # Submissions
          130
          Accepted
          83
          Uploaded By