0_0_21805885_1655.cpp: In function 'int main()': 0_0_21805885_1655.cpp:102:3: error: 'res' was not declared in this scope res[z] = ans; ^