1 条题解
-
0
C++ :
#include<bits/stdc++.h> using namespace std; int main(){ int a,b,c; scanf("%d%d%d",&a,&b,&c); int sum=0; sum=max(a,b); sum=max(sum,c); cout<<sum; }
Python :
# coding=utf-8 x=float(input()) y=float(input()) z=float(input()) if x>y and x>z: print(int(x)) if y>x and y>z: print(int(y)) if z>x and z>y: print(int(z))
- 1
信息
- ID
- 532
- 时间
- 1000ms
- 内存
- 128MiB
- 难度
- (无)
- 标签
- (无)
- 递交数
- 0
- 已通过
- 0
- 上传者