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 1267. Yekaterinburg Subway

WA5 and tests
Posted by Mortus 13 Jul 2024 20:05
wa5 - check how you calculate time when change direction at the station

Test:
12
1 2 45 64 31 23 128 61 2 2 7
8
7 3 5

ans: 805


Test:
4
7 6 3
3
12 3 4
ans : 60

Good luck!