Update max_k_profit.cpp