1 条题解

  • 0
    @ 2026-10-21 19:49:23

    #include using namespace std;

    int main() { int n; cin>>n; if(n>0) { cout<<"positive"<<endl; } if(n==0) { cout<<"zero"<<endl; } if(n<0) { cout<<"negative"<<endl; } return 0; }

    • 1

    信息

    ID
    467
    时间
    1000ms
    内存
    128MiB
    难度
    1
    标签
    递交数
    151
    已通过
    101
    上传者