mahim007's blog

By mahim007, history, 9 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?
»
9 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).
  • »
    »
    9 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    what should i do here?? should i use end-of-file input system?? i thought the spoj judge re-run the solution every time like CF :( is it wrong?? help me shopnobaj_raju vaia :)