0_0_20200929_21950.cpp: In function 'void retrieve_cost(int, int, int)': 0_0_20200929_21950.cpp:59:13: error: 'cost' was not declared in this scope int i, mx; cost = keys[x].empty() ? 0 : keys[x][pcost]; ^