1 solutions

  • 0
    @ 2023-9-30 13:49:08
    #include<iostream>
    using namespace std;
    #define ll long long
    int main()
    {
    	ll n;
    	cin>>n;
    	if(n==0)
    		cout<<"zero";
    	else if(n>0)
    		cout<<"positive";
    	else
    		cout<<"negative";
    	return 0;
    }
    
    • 1

    Information

    ID
    6729
    Time
    1000ms
    Memory
    128MiB
    Difficulty
    5
    Tags
    (None)
    # Submissions
    297
    Accepted
    106
    Uploaded By