Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2021130014 #355

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

2021130014 #355

wants to merge 3 commits into from

Conversation

lee-yeonjoon
Copy link

修改思路

  1. 代码中发现了除法计算中的溢出问题,我使用了 long 类型来避免溢出。
  2. 测试用例中遗漏了一些边界条件,添加了这些情况的测试以确保代码的准确性。
  3. 为了提高代码可读性,我添加了注释,特别是在涉及循环小数处理的部分,明确了算法的逻辑。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant