#include<iostream>
#include<cstdio>
using namespace std;
int main()
{ int a,b,c,i,j=0,k=0;
for(i=1;i<8;i++)
{
cin>>a>>b;
c=a+b;
if((c>j)&&(c>8))
j=c,k=i;
}
cout<<k ;
}
标签:std,main,cout,津津,namespace,int,include,高兴
来源: https://www.cnblogs.com/57xmz/p/12239369.html