1
0
mirror of https://github.com/renbaoshuo/202401-programming-assignments.git synced 2024-11-27 14:36:19 +00:00
202401-programming-assignments/【实践课外】0.熟悉编程环境/7-4 简单最值.cpp

20 lines
263 B
C++
Raw Normal View History

#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;
}