< Correction in Question > + Solution Hint
Update the question -  \nNew name - " Blue pig of the day "\nDescription - "we have only one bucket filled up with elixir to make pig blue  for 1 day, and other
Update the question -  \nNew name - **" Blue pig of the day "**\nDescription - "we have only one bucket filled up with elixir to make pig blue  for 1 day, and other buckets are filled with water."\n\n**No more poor pig will be Sacrificed !!! They\'ll be Blue for 1 day .**\n\nMy solution to current problem is - \n```return 0;```\n \n**Solution Hint -**\n The key to the problem is realizing the number of states possible for a test pig at the end of the testing period. For the case given in the problem, 1 hour testing period with 15 minutes cooldown, a pig can test 4 times. Therefore the number of states the pig can be at the end is 5: it either Turns Blue on the 1st, 2nd, 3rd, or 4th test, or it stays the same till the end. \n
[]