3 条题解
-
0
C :
#include<stdio.h> int main(){ int a,b; scanf("%d %d", &a,&b); int max = a; if(b>max) { max = b; } printf("%d",max); return 0; }
C++ :
#include<iostream> using namespace std; int main(){ int x; int y; cin>>x>>y; if(x>y){ cout<<x<<endl; }else{ cout<<y<<endl; } }
Python :
a , b = map(int,input().split()); if a > b: print(a) else: print(b)
- 1
信息
- ID
- 70
- 时间
- 1000ms
- 内存
- 16MiB
- 难度
- 1
- 标签
- 递交数
- 115
- 已通过
- 86
- 上传者