How to solve pow pow problem of spoj??

What woulde be the approch for this SPOJ.com - Problem POWPOW question on spoj

1 Like

links from topcoder, codechef, spoj, github, blogger and stackoverflow. i hope those links gonna help you.

1 Like