Add auto test

This commit is contained in:
2023-09-28 09:29:22 +08:00
parent 9d63717601
commit 896e621557
3 changed files with 163 additions and 0 deletions

View File

@ -290,6 +290,7 @@ void InterpretResult(std::vector<std::vector<double> > equations) {
assert(vid >= 0);
assert(vid < variaID_to_position.size());
std::pair<int, int> pos = variaID_to_position[vid];
if (map_status[pos.first][pos.second] != 0) continue;
if (sol == 0) {
map_status[pos.first][pos.second] = 1;
no_mine_block_to_be_clicked.push(pos);