4 条题解

  • 1
    @ 2024-5-1 11:43:28
    #include 
    using namespace std;
    int main()
    {
        int x,y;
        cin >> x >>y;
        if ((x<=1&&x>=-1)&&(y <= 1&&y>=-1))
            cout << "yes";
        else
            cout <<"no";
        return 0;
    }
    ```
    
    • 1
      @ 2023-7-14 21:31:46

      压缩派😄

      #include <iostream>
      int main(){
          int q,a;
          std::cin>>q>>a;
          if(q>a) std::cout<<">";
          else if(q<a) std::cout<<"<";
          else std::cout<<"=";
          return 0;}
      
      • 1
        @ 2023-6-20 20:02:18
        #include <iostream>
        using namespace std;
         
        int main()
        {
        	int a,b;
        	cin >> a >> b;
        	if (a > b)
        		cout << ">" << endl;
        	else if (a == b)
        		cout << "=" << endl;
        	else 
        		cout << "<" << endl;
        	return 0;
        }
        
        • 0
          @ 2023-6-20 21:13:13
          #include<bits/stdc++.h>
          using namespace std;
          int main(){
              int a,b;
              cin>>a>>b;
              if (a>b){
                  cout <<">";
              }
              else if (a==b){
                  cout <<"=";
              }
              else{
                  cout <<"<";
              }
              return 0;
          }
          
          
          • 1

          信息

          ID
          162
          时间
          1000ms
          内存
          128MiB
          难度
          2
          标签
          递交数
          192
          已通过
          121
          上传者