![]() | |
| |||||||
| Home | Register | Blogs | FAQ | Members List | Calendar | Downloads | Arcade | Mark Forums Read |
| Algorithms The source of algorithms for your project |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #31 |
| Administrator | лучшего способа поиска я не вижу. Агрегат дал решение, которое делает 128 сравнений, забыв о том, что нужно найти 2 элемента, а не 1 ("return"). как можно "делить" случайно распределенные элементы по позициям ? "первые 128" == "последние 128" == "элементы на четных позициях" == "элементы на позициях хода лошадью". Поиск - линейный, 256 проходов - вот мое хамбл апиньон.
__________________ И повешенные могут качаться в неположенную сторону. /С.Е.Лец/ |
| | |
| | #32 | ||
| The Reloaded Join Date: Jan 2002 Location: behind the flesh and gelatinе of soft dull eyes
Posts: 3,183
Rep Power: 7 Reputation:
45 | Quote:
Quote:
__________________ Сайт армянских маньяков | ||
| | |
| | #33 |
| Administrator | суммирую: алгоритма и не существует, кроме как перебирать по штучке. а всякие повышения вероятностей - это проделки Фикса.
__________________ И повешенные могут качаться в неположенную сторону. /С.Е.Лец/ |
| | |
| | #34 | |
| cares?.. Join Date: Jan 2004 Location: RA Army
Posts: 149
Rep Power: 5 Reputation:
10 | Quote:
еще раз отсылаю всех любителей игр с вероятностью нахождения элементов при обычном последовательном поиске к Д.Кнуту ![]()
__________________ "...She will love them when she sees them, they will lose her if they follow. And she only means to please them, and her heart is full and hollow like a cactus tree. While she's so busy being free. ..." | |
| | |
| | #36 | |
| The Reloaded Join Date: Jan 2002 Location: behind the flesh and gelatinе of soft dull eyes
Posts: 3,183
Rep Power: 7 Reputation:
45 | Quote:
грека ака фикс? ![]()
__________________ Сайт армянских маньяков | |
| | |
| | #37 | |
| The Reloaded Join Date: Jan 2002 Location: behind the flesh and gelatinе of soft dull eyes
Posts: 3,183
Rep Power: 7 Reputation:
45 | Quote:
__________________ Сайт армянских маньяков | |
| | |
| | #38 | |
| Administrator | Quote:
__________________ И повешенные могут качаться в неположенную сторону. /С.Е.Лец/ | |
| | |
| | #39 | |
| The Reloaded Join Date: Jan 2002 Location: behind the flesh and gelatinе of soft dull eyes
Posts: 3,183
Rep Power: 7 Reputation:
45 | Quote:
__________________ Сайт армянских маньяков | |
| | |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| задачка на тему Самолет | mk | General | 186 | Dec 23, 2004 17:07 |
| Задачка | Shirinyan | Fun | 13 | Oct 22, 2003 13:41 |
| Задачка от Альберта, самого Энштейна | R0nIn | General | 34 | Aug 19, 2003 19:24 |
| Еще одна задачка | Agregat | Languages, Compilers and Interpreters | 15 | Oct 8, 2002 19:22 |
| Задачка | Amph | Algorithms | 1 | May 29, 2002 04:02 |