The Cheapest Flight The Cheapest Flight
Elementary
English RU

"We need to fly home as cheaply as possible so that more money is left for gifts. Aunt Lidia asked for different kinds of cheeses, and Vasya wanted a new toy car. I’ve been looking at the schedule for quite a while and I’m starting to think that some planes are flying in vain".

As the input you get the flight schedule as an array,...

You should be an authorized user in order to see the full description and start solving this mission.