https://www.luogu.com.cn/record/166804918
代码:
#include<bits/stdc++.h> using namespace std; int main(){ int zd=0,a,b,day; for(int i=1;i<=7;i++){ cin>>a>>b; if(a+b>8 and a+b>zd){ zd=a+b; day=i; } } cout<<day<<endl; return 0; }
谁知道为啥错了一个测试点还是100