12 条题解

  • 1
    @ 2025-5-24 20:07:34
    #include<iostream>
    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
      @ 2023-6-28 10:38:51
      #include <iostream>
      #include <stdio.h>
      #include <iomanip>
      #include <math.h>
      using namespace std;
      const int N = 1e6 + 10;
      const int INF = 0x3f3f3f3f;
      int main()
      {
      	int x , y;
      	cin >> x >> y;
      	if( x > y )
      	{
      		cout << ">";
      	}
      	else if( x = y )
      	{
      		cout << "=";
      	}
      	else
      	{
      		cout << "<";
      	}
      	return 0;
      }
      
      • 1
        @ 2023-1-26 16:21:16
        #include<iostream>
        using namespace std;
        int main(){
        	int a,b;
        	cin>>a>>b;
        	if(a>b){
        		cout<<">";
        	}else if(a<b){
        		cout<<"<";
        	}else{
        		cout<<"=";
        	}
        	return 0;
        }
        
        • 0
          @ 2025-4-1 21:06:09

          #include<stdio.h>

          #include

          using namespace std;

          int main()

          {

          int a,b;
          
          cin>>a>>b;
          
          if(a==b)
          
          {
          
          	cout<<"=";
          
          }
          
          else if(a<b)
          
          {
          
          	cout<<"<"; 
          
          }
          
          else
          
          {
          
          	cout<<">";
          
          }
          

          }

          • 0
            @ 2024-4-12 20:01:26
            #include<bits/stdc++.h>
            using namespace std;
            string a;
            int main()
            {
            	int x,y;
            	cin>>x>>y;
            	if(x>y)
            	{
            		cout<<">"<<endl;
            	}
            	else if(x<y)
            	{
            		cout<<"<"<<endl;
            	}
            	else
            	{
            		cout<<"="<<endl;
            	}
            	return 0;
            }
            
            
            • 0
              @ 2023-12-26 17:29:06

              #include #include using namespace std; const int N=1e5+10; const int INF=0x3f3f3f3f; int x,y; bool a(int x,int y) { if(x>y) return 1; else if(x<y) return 0; else if(x==y) return 2; } int main(){ cin>>x>>y; if(a(x,y)==0) cout<<"<"; else if(a(x,y)==1) cout<<">"; else if(a(x,y)==2) cout<<"="; } 闲的

              • 0
                @ 2023-5-23 20:09:14

                #include #include #include #include #include #include #include using namespace std; const int INF = 0x3f3f3f3f; int a , b; int main() { cin >> a , b; if (a > b) { cout << "<"; } else if (a = b) { cout << "="; } else { cout << ">"; } return 0; }

                • 0
                  @ 2023-2-18 14:19:15

                  #include using namespace std; int main() { int x,y; cin>>x,y; if(x==y){ cout<<"="; } else if(x>y){ cout<<">"; } else{ cout<<"<"; } }

                  • 0
                    @ 2022-9-3 13:42:57
                    #include <bits/stdc++.h>
                    
                    using namespace std;
                    
                    int main()
                    {
                        int x, y;
                    
                        cin >> x >> y;
                    
                        if (x < y)
                        {
                            cout << "<";
                        }
                        else if (x == y)
                        {
                            cout << "=";
                        }
                        else if (x > y)
                        {
                            cout << ">";
                        }
                    
                        return 0;
                    }
                    
                    • -1
                      @ 2022-1-2 15:29:53
                      #include <stdio.h>
                      #include <iostream>
                      #include <math.h>
                      using namespace std;
                      int main()
                      {
                      	int x,y;
                      	cin >> x >>y;
                      	if(x>y)
                      	{
                      		cout<<">";
                      
                      
                      	}
                      	else if (x=y)
                      	{
                      		cout<<"=";
                      
                      	}
                      	else
                      	{
                      		cout<<"<";
                      	}
                      }
                      
                      • -2
                        @ 2022-7-2 17:04:25

                        #include<stdio.h> #include using namespace std; int main() { int x,y; cin>>x>>y; if(x>y) { cout<<">"<<endl; }else if(x==y) { cout<<"="<<endl; }else { cout<<"<"<<endl; } }

                        • -2
                          @ 2022-1-2 15:35:57
                          #include <stdio.h>
                          #include <iostream>
                          #include <math.h>
                          using namespace std;
                          int main()
                          {
                          	int x,y;
                          	cin >>x >>y;
                          	if(x >y)
                          	{
                          		cout << ">"; 
                          	}
                          	if(x ==y)
                          	{
                          		cout << "="; 
                          	}if(x <y)
                          	{
                          		cout << "<"; 
                          	}
                          }
                          
                          • 1

                          信息

                          ID
                          891
                          时间
                          1000ms
                          内存
                          128MiB
                          难度
                          3
                          标签
                          递交数
                          751
                          已通过
                          421
                          上传者