novice_4's blog

By novice_4, history, 6 years ago, In English

hello , i am trying to solve codeforces 9 beta round div2 c question.iam getting correct answers when i compile on my system but when i submit i am getting wrong answer on 4th test case .first i got "wrong output format Unexpected end of file — int64 expected" error then i printed the answer after breaking the for loop without exiting the program directly.then the above error is gone but iam still getting wrong answers on the codeforces platform.can anyone please tell what is the reason for different outputs :) .the submission links are http://codeforces.com/contest/9/submission/12982000 and http://codeforces.com/contest/9/submission/12982232

Read more »

 
 
 
 
  • Vote: I like it
  • -4
  • Vote: I do not like it

By novice_4, history, 6 years ago, In English

can anyone tell me how to solve the making change problem in Uva online judge .Here is the problem link (https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=143&page=show_problem&problem=102)

Read more »

Tags uva, dp
 
 
 
 
  • Vote: I like it
  • 0
  • Vote: I do not like it