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 2103. Corporate Mail

Hint: This is graph shortest path.
Posted by xurshid_n 7 Apr 2017 14:31
vertexes are 1..10  and  d , d + 1, d-1, d+2, d-2,  t + 3, t - 3, where d's are divisors of t.