Codeforces Round 1133 (Div. 1, Div. 2) is coming soon! Register here. ×

mahim007's blog

By mahim007, history, 11 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

| Write comment?
»
11 years ago, hide # |
 
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).