In the previous ABC, I came up with the solution for Problem C but couldn't write the bit brute-force search in C++. So this ...