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 1638. Bookworm

Is this consideration right?
Posted by Humoyun Ahmedov 10 Nov 2015 07:40
1 10 1 2 -> 2: means books are placed upside down, in this case first sheet of the first book is adjacent to the second book
1 10 2 1 -> 22: means books are placed correctly,  last sheet of the first book is adjacent to the second book

Edited by author 10.11.2015 07:42
Re: Is this consideration right?
Posted by p23.Shant 2 Dec 2023 21:23
Yes!