All pastes #457268 Raw Edit

Sudoku --- Remi

public c v1 · immutable
#457268 ·published 2007-04-25 09:29 UTC
rendered paste body
 /* mise a jour des candidats potentiels */                    for (i=0;i<N;i++)                    if (val!=0)          {              s->grille[i].nb_candidats=0;                            for(j=0;j<CAND_MAX;j++)              {                  s->grille[i].candidat[j]=0;              }          }           else              {                  s->grille[i].nb_candidats=9;                                    for(j=0;j<CAND_MAX;j++)              		{                  		s->grille[i].candidat[j]=j+1;              		}               }      return s;}