高兴的津津

爱学习的皮卡丘  •  1天前


include<bits/stdc++.h>

using namespace std; int main(){

int a=0,b=0,c,d,e=0;
for(int i=1;i<7;i++){
	scanf("%d %d",&c,&d);
	e=c+d;
	if(a<e&&e>8){
		a=e;
		b=i;
	}
}
printf("%d",b);
return 0;

}


评论:

请先登录,才能进行评论