@gamabunta : thanx
Setter’s solution not yet uploaded ?
Admin can u plz chk http://www.codechef.com/viewsolution/2181171 Even after using miller rabin and optimised modular exponation and product, I m getting TLE…
Before my code used to take 3-4 sec in my cases. Now only 31 ms. Still TLE
Please chk…