1 条题解

  • 0
    @ 2024-12-22 11:03:57

    C++ :

    #include<bits/stdc++.h>
    using namespace std;
    
    int main(){
    	int a,b;
    	cin>>a>>b;
    	if(a<b) cout<<b;
    	else cout<<a;
    }
    

    Python :

    # coding=utf-8
    x=int(input())
    y=int(input())
    if x>y :
        print(x)
    else:
        print(y)
    
    • 1

    信息

    ID
    118
    时间
    1000ms
    内存
    128MiB
    难度
    10
    标签
    (无)
    递交数
    4
    已通过
    0
    上传者