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

Обсуждение задачи 1877. Велосипедные коды

Pascal and binary operations
Послано Demenev Dmitriy 21 дек 2015 23:45
I used binary operations to solve the problem and I didn't manage make my algorithm faster. My algorithm is too slow (0.015 sec). Could you give me a little advice how I can optimise my algorithm?

My facebook: https://www.facebook.com/dmitriy.demenev.7
Re: Pascal and binary operations
Послано Jane Soboleva (SumNU) 22 дек 2015 00:05
Time is rounded here, so you can only see results like 0.001, 0.015, 0.031, 0.046, 0.062 etc. 0.001 and 0.015 are pretty much equal, and 0.015 can mean pretty much anything between 0.002 and 0.015. Like 0.001, 0.015 is an ideal time, there's nothing to optimize here. Only starting from 0.031 the program might be considered "slightly slow".
Re: Pascal and binary operations
Послано Demenev Dmitriy 22 дек 2015 08:52
Thank you, Jane. It was really important for me. I got crazy of this runtime. It was like a bolt out of the blue xD Good luck!.

Btw, sorry for my English :D
Re: Pascal and binary operations
Послано IlushaMax 7 мар 2016 19:55
Same thing))