Description
You must also print the total cost of the monthly plan, i.e. the sum of all the monthly train journey costs and the monthly transit costs at all stations where a change of trains happens for some journey.
In case there are multiple monthly plans with the same minimum cost, you can print any one of them.
To compile the planner, please use g++ -g -o planner main.cpp
To debug, please use gdb ./planner on Linux or lldb ./planner on Mac
Reviews
There are no reviews yet.