题目描述
blablabla
样例
#include <iostream>
using namespace std;
int main()
{
int a[101], t, max;
for (int i=1; i<=100; i++) cin >> a[i];
max = a[1];
t = 0;
for (int i=1; i<101; i++)
{
if (a[i] > max) {
max = a[i];
t = i;
}
}
cout << max << endl;
cout << t;
return 0;
}