Codechef April Challenge (HELP WATSON ESCAPE) — 3rd test case

Правка en2, от vishva1994, 2016-04-16 15:59:45

My submitted solution: https://www.codechef.com/viewsolution/9929014 I referred to the problem setters solution while solving for fast exponentiation function . The first two test cases passed . The last one — wrong answer (expected TLE) . Where am i going wrong ??

updated my solution to this but still same error:: https://www.codechef.com/viewsolution/9930909

Теги codechef long, april 2016, fast exponentiation

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en3 Английский vishva1994 2016-04-16 17:43:41 74
en2 Английский vishva1994 2016-04-16 15:59:45 99
en1 Английский vishva1994 2016-04-16 01:10:20 346 Initial revision (published)