题目描述
blablabla
样例
#include <cstdio>
#include <iostream>
#include <cmath>
using namespace std;
int main()
{
int X, max, count = 1, i;
cin >> X;
max = X;
for (i = 2; i <= 101; i++)
{
int Y;
cin >> Y;
if (Y > max)
{
max = Y;
count = i;
}
}
cout << max << '\n'
<< count;
system("pause");
return 0;
}