#include<iostream> #include<algorithm> using namespace std; int main(){ int a,b,c,x; cin>>a>>b>>c; x=max(a,b); if(x<c) x=c; cout<<x<<" eh o maior"; return 0; }
max在algorithm的头文件中