Bug Fix: Integer overflow on windows in Project Euler 072#10672
Bug Fix: Integer overflow on windows in Project Euler 072#10672ManpreetXSingh wants to merge 4 commits intoTheAlgorithms:masterfrom ManpreetXSingh:project-euler-072
Conversation
Multiple Pull Request Detected@manpreetsingh2004, we are extremely excited that you want to submit multiple algorithms in this repository but we have a limit on how many pull request a user can keep open at a time. This is to make sure all maintainers and users focus on a limited number of pull requests at a time to maintain the quality of the code. This pull request is being closed as the user already has an open pull request. Please focus on your previous pull request before opening another one. Thank you for your cooperation. User opened pull requests (including this one): #10672, #10615, #10580, #10558 |
|
@manpreetsingh2004 what numbers are different, show an example? |
|
@quant12345 |
Describe your change:
Bug Fix in Sol1.py
sol1.pythat appears to be related to integer overflow. This issue specifically arises on Windows platforms because, by default, numpy onWindows 64-bituses32-bit integers, whereas onLinux, it employs64-bit integers, so it also went unnoticed in automated checking.Sol2.py
Checked all Euler Problems
pytest scripts\validate_solutions.pyChecklist: