|
|
back to boardugly algo: first using Heuristic search, a[x][y]<255-a[x][y] first search 0, else first serach 255, times>1e5 break; if ok==false using random search, if(rand()%2==0) first search 0 else first search 1, if you use rand()%2==1 first search 0 it will tle... |
|
|