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

Обсуждение задачи 1586. Трипростые числа

Dmytro Dziuma (DixonD) [Lviv NU] Clarification [3] // Задача 1586. Трипростые числа 27 окт 2007 15:19
Why answer for 4 is 204?

If we have 143 three-digit primes numbers each of them can create 10 four-digit threeprimes numbers!

a1a2a3 - three-digit prime number -> a1a2a3* - four-digit threeprime number

+some numbers *a1a2a3 which is not included early.
So answer must be larger than  204.
Whats wrong? I don't understand...
mastersobg Re: Clarification [2] // Задача 1586. Трипростые числа 27 окт 2007 15:35
"Pasha calls an integer a threeprime number if ANY( !!! ) three consecutive digits of this integer form a three-digit prime number"

Read the statement. For the first time i didn't understand too :-)))
Dmytro Dziuma (DixonD) [Lviv NU] Re: Clarification [1] // Задача 1586. Трипростые числа 27 окт 2007 15:57
Finally understand it. Thanks a lot!

Edited by author 27.10.2007 16:19
marius dumitran Re: Clarification // Задача 1586. Трипростые числа 24 июл 2009 19:37
if all three consecutive letters.....
bla bla ....
any is clearly not very clear....