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 1085. Meeting

Test 1. Why answer is 12?
Posted by ilyamit 28 Oct 2007 18:27
Test 1.
Need three tickets -> 3 * 4 = 12
And need money (two tickets) for first pessenger for distance from 1 to 4.
All sum = 12 + 2 * 4 = 20.

Please, tell me, what I dont understand.

Sorry, I bad speak english.
Re: Test 1. Why answer is 12?
Posted by Nguyễn Kim Vỹ 3 Jul 2010 01:12
this not test 1, example test!!!
From 1 to 4: 3 ticket
Two people in 4 don't need!
3*4=12