48 条题解

  • 0
    @ 2024-2-22 11:24:52

    #include using namespace std; int main(){ int n; cin>>n; if(n>0)cout<<" positive"; if(n==0)cout<<"zero"; if(n<0)cout<<"negative"; return 0; }

    • 0
      @ 2024-2-22 11:24:48

      👍👍 👍👀️ 🚀️

      #include<iostream>
      using namespace std;
      int main()
      {   int a;
      	cin>>a;
          if(a>0){
          cout<<"positive";}
          if(a==0){
          cout<<"zero";}
          if(a<0){
          cout<<"negative";}
          return 0;
       }
      
      • -1
        @ 2024-2-27 18:35:58
        #include<bits/stdc++.h>
        using namespace std;
        int main(){
            int n;
            cin>>n;
            if(n==0){
            cout<<"zero";
        }
            if(n>0){
            cout<<"positive";
        }
            if(n<0){
            cout<<"negative";
        }
        return 0;
        }
        
        • -1
          @ 2024-2-23 9:55:01
          #include<bits/stdc++.h>
          using namespace std;
          int main(){
              int n;
              cin>>n;
              if(n==0){
              cout<<"zero";
          }
              if(n>0){
              cout<<"positive";
          }
              if(n<0){
              cout<<"negative";
          }
          return 0;
          }
          不对luo yu shun吃屎
          
          • -1
            @ 2024-2-23 9:54:52
            #include<bits/stdc++.h>
            using namespace std;
            int main(){
                int n;
                cin>>n;
                if(n==0){
                cout<<"zero";
            }
                if(n>0){
                cout<<"positive";
            }
                if(n<0){
                cout<<"negative";
            }
            return 0;
            }
            不对luo yu shun吃屎
            
            • -1
              @ 2024-2-23 9:54:46
              #include<bits/stdc++.h>
              using namespace std;
              int main(){
                  int n;
                  cin>>n;
                  if(n==0){
                  cout<<"zero";
              }
                  if(n>0){
                  cout<<"positive";
              }
                  if(n<0){
                  cout<<"negative";
              }
              return 0;
              }
              不对luo yu shun吃屎
              
              • -1
                @ 2024-2-23 9:54:39
                #include<bits/stdc++.h>
                using namespace std;
                int main(){
                    int n;
                    cin>>n;
                    if(n==0){
                    cout<<"zero";
                }
                    if(n>0){
                    cout<<"positive";
                }
                    if(n<0){
                    cout<<"negative";
                }
                return 0;
                }
                不对luo yu shun吃屎
                
                • -3
                  @ 2024-2-20 11:00:17

                  123478909874321234789*0

                  信息

                  ID
                  85
                  时间
                  1000ms
                  内存
                  128MiB
                  难度
                  3
                  标签
                  (无)
                  递交数
                  672
                  已通过
                  345
                  上传者