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.
Project Euler #188: The hyperexponentiation of a number
Project Euler #188: The hyperexponentiation of a number
+ 0 comments i got runtimeerror while submitting the code.why i can't understand please anyone help me......
+ 0 comments Is this going into the right direction? What can you do if gcd(a, m) > 1
I tried using phi(m) in all cases, but I get incorrect results (as expected), but not reducing the size of the exponent, even if I do so, only when gcd > 1, still gets me timeouts.
Note: I already stop the recusion if m = 1;
+ 1 comment Mine won't work because of timeout! Is there any way around this?
+ 1 comment Can someone give me any test please!!
+ 0 comments What kind of test case 0 is , I am always getting WA for this.
Load more conversations
Sort 8 Discussions, By:
Please Login in order to post a comment