Question Maxim and Progressions Can you tell me whats wrong with my solution I am applying the same logic as given in editorial but i am having problem in applying modulus operator. in my fast exponentiation function where should i apply modulus operator so that value does not overflow and applying modulus in exponentiation would'nt change the result ?.
↧