0_0_38484748_26084.cpp: In function 'void solve()': 0_0_38484748_26084.cpp:44:9: error: 'ans' was not declared in this scope memset(ans, -1, sizeof ans); ^