mahim007's blog

By mahim007, history, 9 years ago, In English

I tried a lots of I/O.and my program makes correct ans.but still WA.pls help me to find the bug.

problem link=>uva-10313 — Pay the Price

my code=>codepad

any critical I/O,suggestions,tips would be greatly appreciated.

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

| Write comment?
»
9 years ago, # |
  Vote: I like it 0 Vote: I do not like it

You can go here and try different test cases and compare your output with the correct output. The link: uDebug

»
9 years ago, # |
  Vote: I like it +3 Vote: I do not like it

0 0 1