简单题解
2025-04-07 17:30:51
发布于:广东
1阅读
0回复
0点赞
#include<bits/stdc++.h>
using namespace std;
int main(){
int n[7];
int bigest=8,bigestday=0;
for(int i=0,tmp1,tmp2;i<7;i++){
cin>>tmp1>>tmp2;
n[i]=tmp1+tmp2;
if(n[i]>bigest)bigest=n[i],bigestday=i;
}
cout<<bigestday+1;
}
全部评论 2
6
2025-04-07 来自 广东
02025-04-07 来自 广东
0
有帮助,赞一个