1 solutions

  • 1
    @ 2026-3-20 22:13:46
    #include<bits/stdc++.h>
    using namespace std;
    int main()
    {
        double a;
        cin>>a;
        if(a>0.0)cout<<"positive";
        else if(a==0.0)cout<<"zero";
        else cout<<"negative";
    }
    

    Information

    ID
    1754
    Time
    1000ms
    Memory
    128MiB
    Difficulty
    10
    Tags
    # Submissions
    2
    Accepted
    1
    Uploaded By