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 1210. Kind Spirits

For whom, who get WA 6
Posted by Gleb_Kazantaev(NNSTU) 22 Jul 2014 19:25
If u used Dijkstra alg, u should add min price for all pices, and theh deduct it from unswer multiplying on count of the tops.

Sorry for my eng :D