why wrong answer?? pls give some test cases where my code fails.

Revision en1, by mahim007, 2015-07-30 10:53:24

very simple bigmod problem and the solution is simple also.but the SPOJ judge gives me WA :( problem link:[problem:http://www.spoj.com/problems/NYSFNE/]

my code link:codepad

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English mahim007 2015-07-30 10:56:25 43
en1 English mahim007 2015-07-30 10:53:24 272 Initial revision (published)