Changeset 218
 Timestamp:
 Nov 24, 2005 9:36:19 AM (16 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/Samples/sudoku.cpp
r215 r218 413 413 which[put++]=row*size+column; 414 414 assert (put==size); 415 for (int i=0;i<put;i++) 415 int i; 416 for (i=0;i<put;i++) 416 417 which[i]=(int) lo[which[i]]; 417 418 std::sort(which,which+put); 418 419 int last = valueOffset1; 419 for (i nt i=0;i<put;i++) {420 for (i=0;i<put;i++) { 420 421 int value=which[i]; 421 422 if (value!=last+1) … … 430 431 which[put++]=row*size+column; 431 432 assert (put==size); 432 for (int i=0;i<put;i++) 433 int i; 434 for (i=0;i<put;i++) 433 435 which[i]=(int) lo[which[i]]; 434 436 std::sort(which,which+put); 435 437 int last = valueOffset1; 436 for (i nt i=0;i<put;i++) {438 for (i=0;i<put;i++) { 437 439 int value=which[i]; 438 440 if (value!=last+1) … … 450 452 } 451 453 assert (put==size); 452 for (int i=0;i<put;i++) 454 int i; 455 for (i=0;i<put;i++) 453 456 which[i]=(int) lo[which[i]]; 454 457 std::sort(which,which+put); 455 458 int last = valueOffset1; 456 for (i nt i=0;i<put;i++) {459 for (i=0;i<put;i++) { 457 460 int value=which[i]; 458 461 if (value!=last+1)
Note: See TracChangeset
for help on using the changeset viewer.