10 条题解
-
1余子萱mary (yuzixuan1) LV 8 @ 2023-8-6 8:55:58
#include < iostream > using namespace std; int main() { int a,b; cin >>a >>b; if(a > b) { cout <<a; } if (a < b) { cout <<b; } return 0; }
-
12023-7-16 15:47:51@
#include<iostream> #include<string> #include<cstdio> #include<bits/stdc++.h> using namespace std; #define LL long long const int N=1e6+10; const int INF=0x3f3f3f3f; int a,b; int main(){ cin>>a>>b; cout<<max(a,b); }
-
12022-10-7 18:54:00@
#include<bits/stdc++.h> using namespace std; int main(){ int a,b; cin>>a>>b; if(a>b)cout<<a; else cout<<b; }
-
-12023-4-4 20:58:16@
#include<bits/stdc++.h> using namespace std; int main() { int m,n; cin>>m>>n; cout<<max(n,m); return 0; }
-
-12023-1-26 16:25:33@
#include <bits/stdc++.h> using namespace std; int main(){ int a,b; cin>>a>>b; cout<<max(a,b); return 0; }
-
-12021-10-16 19:41:39@
a,b=map(int,input().split()) if a>b: print(a) if b>a: print(b)
-
-22023-2-18 14:32:01@
#include <iostream> using namespace std; int main() { int a,b;
cin >>a >>b;
if(a > b)
{
cout <<a;
}
if (a < b)
{
cout <<b;
}
return 0;
}
-
-22022-1-2 17:53:46@
#include <stdio.h> #include <iostream> #include <math.h> using namespace std; int main() { int a,b; cin >>a >>b; if(a > b) { cout <<a; } if (a < b) { cout <<b; } return 0; }
-
-32022-7-2 17:19:52@
#include<stdio.h> #include<iostream> #include<math.h> using namespace std; int main() { int a,b; cin>>a>>b; a=max(a,b); cout<<a<<endl; }
-
-32022-3-28 20:27:04@
#include <iostream>
using namespace std;
int main()
{
int a,b; cin >>a >>b; if(a > b) { cout <<a; } if (a < b) { cout <<b; } return 0;
} //abcabcbacbabcbabbcb
- 1
信息
- ID
- 882
- 时间
- 1000ms
- 内存
- 128MiB
- 难度
- 3
- 标签
- 递交数
- 722
- 已通过
- 386
- 上传者