mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-11-23 21:48:48 +00:00
805. x和y的最大值
https://www.acwing.com/problem/content/submission/code_detail/14063721/
This commit is contained in:
parent
567421d1c5
commit
155ca99a6d
16
AcWing/805/805.cpp
Normal file
16
AcWing/805/805.cpp
Normal file
@ -0,0 +1,16 @@
|
||||
#include <iostream>
|
||||
|
||||
using std::cin;
|
||||
using std::cout;
|
||||
const char endl = '\n';
|
||||
|
||||
int x, y;
|
||||
|
||||
int main() {
|
||||
std::ios::sync_with_stdio(false);
|
||||
|
||||
cin >> x >> y;
|
||||
cout << std::max(x, y) << endl;
|
||||
|
||||
return 0;
|
||||
}
|
Loading…
Reference in New Issue
Block a user