Codeforces will not be available in the period 01:00-05:00 May, 30 (MSK, UTC +3) because of maintenance. ×

mahim007's blog

By mahim007, history, 5 years ago, In English,

very simple bigmod problem and the solution is simple also.but the SPOJ judge gives me WA :( problem link:NYSFNE — Short form of New Year

my code link:codepad

 
 
 
 
  • Vote: I like it
  • 0
  • Vote: I do not like it

»
5 years ago, # |
  Vote: I like it +1 Vote: I do not like it
  1. There are multiple test cases.
  2. If the answer is single digit, you should add a 0 before it. For example, for a=10 and b=2, you should output 00 ( your code gives only 0).
»
2 months ago, # |
  Vote: I like it -16 Vote: I do not like it