ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1350. Canteen

Question!
Posted by uzairBaig 7 Jun 2010 17:01
I cannot understand the problem. The question is phrased pOorly !

If there is anyone, who can tell me, the question clearly, I am ready to phrase it in a better way.
Re: Question!
Posted by dAFTc0d3r [Yaroslavl SU] 12 Jun 2010 11:40
Use this statements:
1) There are N different food stuffs in the menu but not all of them are at the distribution.
2) The food is cooked from M different food stuffs.
3) The first student eats and he is not poisoned.
4) The first block describes the food stuffs dangerous for the first student,
5) the next K blocks — for the rest ones.

And try to think a little. It's not very hard. ;)
Re: Question!
Posted by gautamvs 14 Feb 2013 16:54
Combination formula can help.