lap1_problem_with_runtime