Update min_cost_convert.cpp