1 solutions

  • 0
    @ 2025-4-16 17:33:32
    #include<bits/stdc++.h>
    using namespace std;
    typedef int itn;
    int main(){
        int n;cin>>n;
        cout<<(n>0? "positive" :(n==0? "zero":"negative"));
        return 0;
    }
    
    • 1

    Information

    ID
    1287
    Time
    1000ms
    Memory
    128MiB
    Difficulty
    10
    Tags
    # Submissions
    5
    Accepted
    4
    Uploaded By