We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Using C++, i have successfully completed extra long factorials challenge, getting all desired factorial outputs, yet for this problem, my implementation using my previos BigInt class causing "termination due to timeout". I guess i should alter my overloading method for * operator, but i can't figure out how. I can get the result of 2147483647*999999 operation, but timeout occurs for 2147483647*9999999.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Fibonacci Modified
You are viewing a single comment's thread. Return to all comments →
Using C++, i have successfully completed extra long factorials challenge, getting all desired factorial outputs, yet for this problem, my implementation using my previos BigInt class causing "termination due to timeout". I guess i should alter my overloading method for * operator, but i can't figure out how. I can get the result of 2147483647*999999 operation, but timeout occurs for 2147483647*9999999.