3 solutions

  • -2
    @ 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; }

  • -2
    @ 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;
    

    }

    • -3
      @ 2026-2-12 11:31:53

      ###### ***# ***

      • 1

      Information

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