Enable captcha

This commit is contained in:
jl777
2019-01-29 07:20:02 -11:00
parent 03274df1f9
commit 425d5ddbaf

View File

@@ -526,7 +526,7 @@ int32_t sudoku_captcha(uint32_t timestamps[81])
n++; n++;
} }
} }
//if ( n > 81/2 ) if ( n > 81/2 )
{ {
std::sort(list.begin(),list.end()); std::sort(list.begin(),list.end());
solvetime = (list[n-1] - list[0]); solvetime = (list[n-1] - list[0]);
@@ -557,7 +557,7 @@ int32_t sudoku_captcha(uint32_t timestamps[81])
return(-1 * 0); return(-1 * 0);
else return(0); else return(0);
} }
} //else return(-1); } else return(-1);
} }
CScript sudoku_genopret(uint8_t unsolved[9][9]) CScript sudoku_genopret(uint8_t unsolved[9][9])