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

Обсуждение задачи 1190. Плитка шоколада

Fyodor Menshikov Wrong tests [1] // Задача 1190. Плитка шоколада 31 янв 2009 20:48
Test 3 contains duplicate names of components.

If one component may be mentioned several times, then for the following test

2
Water 1 6000
Water 0

answer should be 'NO' because according to component list bar consists entirely of water, and percent of water should be 100 (10000 in input).

All known to me AC solutions ignore names of components so I suggest to rename duplicate names in test 3 and add into statement notice that all names in the list are different.
Sandro (USU) Fixed (-) // Задача 1190. Плитка шоколада 4 фев 2009 11:36