为什么过不了????#11 wa
#include<iostream>
using namespace std;
int main()
{
int a[7], b[7];
for(int i = 1;i <= 7; i++){
cin >> a[i-1] >> b[i-1];
}
for(int i = 1;i <= 7; i++){
if(a[i-1] + b[i-1] > 8)
{
cout << i << endl;
return 0;
}
}
cout << 0 << endl;
return 0;
}