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

Обсуждение задачи 1295. Бред

well
the way i thought is simply calculate the number and see but before using numbers i used long's and calculated it
%10000
and that was enough
i used the writing in binar of the number n to calculate it in logn
The Big Bad Wolf (Cristina Stancu-Mara) Re: Could anyone EXPLAIN his/her solution of this problem? (i know how it can be solved) // Задача 1295. Бред 18 фев 2005 18:37
yes...no need for crazy calculations...just check out the answers for some numbers and u'll see how easy this problem is..
A new start... My solution is O(1) [3] // Задача 1295. Бред 10 апр 2004 15:44
I found the period.
Pegasus Re: My solution is O(1) [2] // Задача 1295. Бред 15 ноя 2012 19:00
I don't think it is eas to find the period.
staticor Re: My solution is O(1) [1] // Задача 1295. Бред 9 июл 2013 12:30
display the situation of n: 1- 100  ?
UJOP-Leo Re: My solution is O(1) // Задача 1295. Бред 30 ноя 2014 21:04
1 - 30 is enough actually