How can i solve this problem http://www.spoj.com/problems/AKVQLD02/ in time please help Thanx in advance asked 29 May '14, 20:00

It would be better if you try this first http://www.spoj.com/problems/FASTPOW/ and I think this would be helpful http://en.wikipedia.org/wiki/Modular_exponentiation#Righttoleft_binary_method answered 29 May '14, 20:18

You should give more time prior to asking about the question's solution... :) You have just tried once till now, and ended up with TLE. answered 29 May '14, 20:03

can anybody tell me what's wrong ? i did it using modual exp right to left method
answered 29 May '14, 20:48
