求最值
作者:互联网
#include <iostream>
#include <cstring>
#include <algorithm>
#include <cstdio>
using namespace std;
int a[10];
int main()
{
for (int i = 0; i <= 2; i ++ )
{
cin >> a[i];
}
for (int q=1;q<=2;q++)
{
if (a[0]<a[q]) swap(a[0],a[q]);
}
cout<<a[0]<<" eh o maior";
}
标签:std,10,main,int,namespace,include,最值 来源: https://www.cnblogs.com/E-Sheep/p/16585068.html