2 solutions

  • 1
    @ 2025-8-11 16:28:26

    #include<bits/stdc++.h> using namespace std; int n; int main(){ cin>>n; if(n<0){ cout<<"negative"<<endl<<a; return 0; } cout<<a;

    return 0; }

    • 1
      @ 2025-8-11 16:26:00

      #include<bits/stdc++.h> using namespace std; int a; int main(){ cin>>a; if(a<0){ cout<<"negative"<<endl; cout<<a; return 0; } cout<<a;

      return 0;
      

      }

      • 1

      Information

      ID
      11
      Time
      1000ms
      Memory
      256MiB
      Difficulty
      1
      Tags
      # Submissions
      299
      Accepted
      94
      Uploaded By