Instalează Steam
conectare
|
limbă
简体中文 (chineză simplificată)
繁體中文 (chineză tradițională)
日本語 (japoneză)
한국어 (coreeană)
ไทย (thailandeză)
български (bulgară)
Čeština (cehă)
Dansk (daneză)
Deutsch (germană)
English (engleză)
Español - España (spaniolă - Spania)
Español - Latinoamérica (spaniolă - America Latină)
Ελληνικά (greacă)
Français (franceză)
Italiano (italiană)
Bahasa Indonesia (indoneziană)
Magyar (maghiară)
Nederlands (neerlandeză)
Norsk (norvegiană)
Polski (poloneză)
Português (portugheză - Portugalia)
Português - Brasil (portugheză - Brazilia)
Русский (rusă)
Suomi (finlandeză)
Svenska (suedeză)
Türkçe (turcă)
Tiếng Việt (vietnameză)
Українська (ucraineană)
Raportează o problemă de traducere
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.