#6530: 為什麼一直RE


tonyadsl (藏AC太奸詐了! 要求透明化!)


#include<iostream>
using namespace std;
int main()
{
    while(1==1)
    {
              int num,yes=0,x,y,all=0;
              for( x=0;x<9;x++ )
              {      all=0;
                      for( y=0;y<9;y++)
                      {

                             cin >> num;
                             all+=num;

                      }
                      if(all!=45 )
                      {
                      yes++;
                      break;
                      }
              }
             
              if(yes!=0)
              cout << "no" << endl;
              else
              cout << "yes"<< endl;
                
    }
   
}

 ~~~~~~~~~~~~~~~~~~~~~~~~~~

我已經沒有用到陣列了

為什麼還是出現RE ......