void updateAnsSet(String s, int a, int b) {
        for (int i = 0; i < checkSet.length; i++) {
            if (!checkSet[i]) {
                continue;
            }
            if ((getA(s, answerSet[i]) != a) || (getB(s, answerSet[i]) != b)) {
                checkSet[i] = false;
            }
        }
    }