3 条题解

  • 2
    @ 2022-9-19 21:24:20
    #include<stdio.h>
    int main()
    {
        int a,b,c;
        a!=b;
        scanf("%d %d",&a,&b);
        if(a>b)
        {
            c=a;
        }
        else
            c=b;
        printf("%d",c);
        return 0;
    }
    
    
    • 0
      @ 2023-9-13 15:13:06
      #include<iostream>
      using namespace std;
      int main(){
      	int a,b;
      	a!=b;
      	cin>>a>>b;
      	if(a>b)
      	{cout<<a<<endl;
      	}
      	else{
      		cout<<b<<endl;
      	}
      	return 0;
      }
      
      • 0
        @ 2022-9-19 20:48:19

        #include<stdio.h> int main() { int a,b; scanf("%d %d",&a,&b); int max=b; if(a>b) { max=a; } printf("%d",max); return 0; }

        • 1

        信息

        ID
        10
        时间
        1000ms
        内存
        128MiB
        难度
        4
        标签
        递交数
        5328
        已通过
        2335
        上传者