1 条题解

  • 0
    @ 2023-8-22 15:08:06
    #include<iostream>
    using namespace std; 
    int main(){
    	int n,max=0;
    	cin>>n;
        if(n>max){
            cout<<"positive"<<endl;
        } 
        if(n==max){
            cout<<"zero"<<endl;
        }
        if(n<max){
            cout<<"negative"<<endl;
        }
        return 0;
    }
    
    • 1

    信息

    ID
    467
    时间
    1000ms
    内存
    128MiB
    难度
    6
    标签
    递交数
    58
    已通过
    17
    上传者