tinneminy's blog

By tinneminy, 10 years ago, In English

Hello Everyone,

I am writing this for the first time. Issue is i solved Problem 158B Taxi. But in one test case # 37 i got stuck. Question says that we need to print minimum number of taxi required, but in test case the input are as: Input : 3 3 3 2 Output: 3 How come output be 3. Even if i manually do this in real life even then we need 2 taxi. Because maximum 4 person can sit. Therefore total becomes 8. 8/4 we get 2. So we need 2 taxi. I need ur assistance to understand the this.

Thanks in advance

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it