| 
 | 
back to boardDiscussion of Problem 1607. Taxi??? Posted by  Search 2 Mar 2008 01:06 Please help me.I always have WA#4. Give me any tests. THAnk!!!>< Re: ??? Posted by  denton 2 Mar 2008 15:11 Try this:   1) 100 100 150 20 Answer is 150   2) 100 100 50 20 Answer is 100 Re: ??? Posted by  Search 3 Mar 2008 20:06 Now I've WA#14.Please give some new tests.Thank!!!   Edited by author 03.03.2008 20:06 Re: ??? Posted by  SP2 4 Mar 2008 16:34 denton> Thanks for the first test. It really helped me!!! Re: ??? I think the answer is 200!!! wrong Posted by denton March 02, 2008 15:11   Try this:   1) 100 100 150 20 Answer is 150   2) 100 100 50 20 Answer is 100   re::::   at test 2 the answer is 50 becouse the taxi driver ofer him 50 and in less then 100 :D   Edited by author 29.12.2008 22:58   Edited by author 29.12.2008 22:58 2  Velea Alex You are wrong, 'cause first turn is Petr and after that the turn of driver, but I think driver wasn't stupid one and he would not offer Petr smoller summ. Re: ??? Posted by  Dior 10 Jun 2014 21:33 thanks a lot, your tests helped me Re: ??? Posted by  Hao123 9 Oct 2014 17:28 Hi, I have issue with the case "100 100 50 20"... Because logically the drivers shouldnt ask a price < price offer from Peter.. Re: ??? Inpt : 1 2 12 3 Output : 5 Re: wrong Accepted Test: 3 3 5 2 5   Edited by author 29.11.2014 20:35 Re: ??? 1 2 12 3 answer 6   Edited by author 12.12.2018 21:22 Re: ??? thanks for the test, helped to get AC after WA#4   Edited by author 12.03.2019 23:16  |  
  | 
|