mirror of
https://github.com/renbaoshuo/202401-programming-assignments.git
synced 2024-12-16 15:44:39 +00:00
20 lines
263 B
C++
20 lines
263 B
C++
#include <algorithm>
|
|
#include <iostream>
|
|
|
|
using std::cin;
|
|
using std::cout;
|
|
const char endl = '\n';
|
|
|
|
int main() {
|
|
std::ios::sync_with_stdio(false);
|
|
cin.tie(nullptr);
|
|
|
|
int a, b, c;
|
|
|
|
cin >> a >> b >> c;
|
|
|
|
cout << std::max({a, b, c}) << endl;
|
|
|
|
return 0;
|
|
}
|