ENG  RUSTimus Online Judge
Online Judge
Задачи
Авторы
Соревнования
О системе
Часто задаваемые вопросы
Новости сайта
Форум
Ссылки
Архив задач
Отправить на проверку
Состояние проверки
Руководство
Регистрация
Исправить данные
Рейтинг авторов
Текущее соревнование
Расписание
Прошедшие соревнования
Правила
вернуться в форум

Обсуждение задачи 1638. Книжный червь

A.Z Sample test [12] // Задача 1638. Книжный червь 11 окт 2008 13:26
Why output is 2 , I think it should be 22 , because the worm started from the first sheet of vol 1 and goes until last sheet of vol 2 . so it's path is 10+1+1+10 = 22
Aisenshtein Daniil Re: Sample test [11] // Задача 1638. Книжный червь 11 окт 2008 14:23
No comments
Dmitriy Re: Sample test [9] // Задача 1638. Книжный червь 11 окт 2008 15:53
if "NO COMMENTS" why you write this?
information - Zero
Aisenshtein Daniil Re: Sample test [8] // Задача 1638. Книжный червь 11 окт 2008 15:57
You should know, that answer "No comments" is identical to "Read the problem statement"
Madi Re: Sample test [7] // Задача 1638. Книжный червь 21 дек 2008 11:52
You could have written explanation or something instead of writing no comments. Its like making fun of the guy, like jewish do.
Hadi Moshayedi Re: Sample test [4] // Задача 1638. Книжный червь 23 дек 2008 19:05
Try to put two books in a bookshelf, and see the reason for no comments :D
Zharenkov_ssau Re: Sample test [3] // Задача 1638. Книжный червь 20 янв 2009 00:23
what answer will be for test like this:
10 1 3 1
zero?
Smith Re: Sample test [2] // Задача 1638. Книжный червь 20 янв 2009 01:14
>what answer will be for test like this:
>10 1 3 1

Answer is 34.
Dzs Re: Sample test [1] // Задача 1638. Книжный червь 17 мар 2009 10:30
No
for the case 10 1 3 1

Answer is 12
Kestutis Re: Sample test // Задача 1638. Книжный червь 31 авг 2011 14:30
Dzs писал(a) 17 марта 2009 10:30
No
for the case 10 1 3 1

Answer is 12
No. You are wrong. My ACed solusion also gave 34. Even if you solve it by hand it is the same result.
Because books are [from first ][][ to last]
There are 4 symbols of [ and ] that are book covers.
So, three books and 4 covers of the books that worm had gnawed.
makagonov Re: Sample test [1] // Задача 1638. Книжный червь 16 май 2010 21:59
You seem to be an anti-Semite! Jewish are not guilty of your stupidity
Armen Tsirunyan TO ADMINS // Задача 1638. Книжный червь 5 авг 2011 00:40
Are there no moderators here? Hateful comments should be instantly removed and the idiots who post them should be temporarily or permanently banned!

Think of the reputation of this otherwise great site!
Muhammad As-Sawalhy Re: Sample test // Задача 1638. Книжный червь 11 июл 2022 16:18
Ok, the problem statement doesn't clarify that this book is an LTR language (left to right, e.g. English) book.Shuch a crucial info shouldn't be left to the assumptions of the reader.