Facebook
From Reliable Cat, 6 Months ago, written in C.
Embed
Download Paste or View Raw
Hits: 85
  1. boolean Victoire(SUDOKU S, CASE p){
  2.   int i;
  3.   int a=0;
  4.  
  5.   for (i=0;i<9;i++){
  6.     a += S.CI[i][p.y] + S.CT[i][p.y];
  7.   }
  8.  
  9.   return a == 45;
  10. }