Removed duplicate function after merge.
Fix merge bug in submit_solution.