[GCOI Round #1 D] Mission
题目描述
Mr Aoligei has missions. He played most of the time, so the deadline of aool the missions is only days away. For the i-th mission, he must spend days to do it. Now, you need to tell him how many missions can he do before the deadline. He cannot do more than one mission at a time.
输入格式
Input is given from Standard Input in the following format:
输出格式
Print the number of mission he can do before the deadine.
输入输出样例
Input #1:
Output #1:
相关
在下列比赛中: