← 返回 google 的题目列表Refactoring Exercise
类型:online_judge
Given a piece of code, refactor it to improve readability, efficiency, or maintainability while preserving functional integrity. Provide test cases to ensure that the refactored code produces the same functional output as the original version.
Example
Input
1 -1 2 0 3