4 条题解

  • 1
    @ 2025-7-15 10:14:20
    #include<bits/stdc++.h>
    using namespace std;
    int main()
    {
    	int a,b;
    	cin>>a>>b;
    	if(a>b)
    	{
    		cout<<a<<">"<<b;
    	} else{
    		cout<<a<<"<="<<b;
    	}
    	return 0;
    }
    
    • 1
      @ 2025-7-15 10:03:51
      #include<bits/stdc++.h>
      using namespace std;
      int main()
      {
      	int a,b;
      	cin>>a>>b;
      	if(a>b)
      	{
      		cout<<a<<">"<<b;
      	} else{
      		cout<<a<<"<="<<b;
      	}
      	return 0;
      }
      
      • 1
        @ 2024-12-27 17:14:06

        #include<bits/stdc++.h> using namespace std; int main() {

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

        }

        • 0
          @ 2025-3-29 21:58:41
          #include<bits/stdc++.h>
          using namespace std;
          int main()
          {
          	int a,b;
          	cin>>a>>b;
          	if(a>b)
          	{
          		cout<<a<<">"<<b;
          	} else {
          		cout<<a<<"<="<<b;
          	}
          	return 0;
          }
          

          注:输出a与b不要双引号

          • 1

          信息

          编号
          2298
          时间
          1000ms
          内存
          256MiB
          难度
          2
          标签
          递交数
          175
          已通过
          85
          上传者