feat: added Project Euler Problem 13#1150
Conversation
|
Your checks are failing. |
|
all errors have been fixed @appgurueu |
|
@appgurueu @raklaptudirm any changes needed? |
|
I don't think this algorithm is correct in the general case. The numbers given are well below what JavaScript numbers (64-bit floats) can safely represent; that is, they exceed The proper solution is to use big integers to exactly represent the given numbers. |
turns out there was indeed an error because of not using BigInt
|
@appgurueu thanks for the feedback! I have now used BigInt, and turns out there was indeed an error xD. |
Describe your change:
Checklist:
Example:
UserProfile.jsis allowed butuserprofile.js,Userprofile.js,user-Profile.js,userProfile.jsare notFixes: #{$ISSUE_NO}.