0_0_18449703_4760.cpp: In function 'LL solve()': 0_0_18449703_4760.cpp:58:13: error: 'cnt' was not declared in this scope cnt += G[i][Q]*bits*bits; ^