You are not logged in. Please login at www.codechef.com to post your questions!

×

Getting wrong answer for SPOJ MENU problem

I am trying to solve MENU problem. My DP state contains (daysleft,rem_budget,prev_dish,prev_dish_count).
My solution is running fine but the Judge giving me Wrong answer.
What's wrong in my code ?

Solution link :link

asked 08 Feb '16, 20:06

pallesai's gravatar image

4★pallesai
176830
accept rate: 17%

toggle preview
Preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported
  • mathemetical formulas in Latex between $ symbol

Question tags:

×2,172

question asked: 08 Feb '16, 20:06

question was seen: 708 times

last updated: 08 Feb '16, 20:06