Інсталювати Steam
увійти
|
мова
简体中文 (спрощена китайська)
繁體中文 (традиційна китайська)
日本語 (японська)
한국어 (корейська)
ไทย (тайська)
Български (болгарська)
Čeština (чеська)
Dansk (данська)
Deutsch (німецька)
English (англійська)
Español - España (іспанська — Іспанія)
Español - Latinoamérica (іспанська — Латинська Америка)
Ελληνικά (грецька)
Français (французька)
Italiano (італійська)
Bahasa Indonesia (індонезійська)
Magyar (угорська)
Nederlands (нідерландська)
Norsk (норвезька)
Polski (польська)
Português (португальська — Португалія)
Português - Brasil (португальська — Бразилія)
Română (румунська)
Русский (російська)
Suomi (фінська)
Svenska (шведська)
Türkçe (турецька)
Tiếng Việt (в’єтнамська)
Повідомити про проблему з перекладом
Sorry it turns out not to be a bug. This level is correct. I need to enable the input when there is one.
original post:
I confirm this bug but it behaves differently. Did exactly the same method (without using hardware though) and it didn't work as I expected, except my guess is always too low. Then I manually construct a 255 and send to output, it should either be too high (input return 1) or it should be the correct guess (jump to next test). What I got instead is always 0 from input. I tried brute-force enumerate down from 255 (255, 254, 253 ...) and input never returns 1. Here's a screenshot https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2952559993
To Redhook: this seems to be the answer for you. Have you tried output 0?
i first tried a binary search solution, but i figured out its useless without dividing by 2 command - its emulation with subsrtactions will eat all the profit)
so i solved it with bruteforce, with just sending incrementing value to out without even analysing input i read.
when i returned to binary search and implement a hardware div by 2 command)
and the algorytm worked fine, except it never gets an 1 on input..
unless i sent a 255 to the out before entering the search loop.
after that it works fine.