---
# System prepended metadata

title: Council of Beetroot
tags: [Final solved]

---

# Council of Beetroot
nc eof01.zoolab.org 42069
```
Felix's dog Sven is hidden away from him again by Council of Beetroot!
They must be jealous because he won the most handsome face of 2020...

There're 8 levers labeled 0 to 7 in every stage and you must pull the right one 100 times to rescue Sven.
If you pull the wrong one, 100 TNTs would fall on you and blow up the whole Broland...

In every stage, you may query Council of Beetroot by sending 6 number strings seperated by newline.
The number string stands for the union of levers that you want to query.
For example, '13' is the set of the lever labeled 1 and the lever labeled 3.

After sending 6 strings, Council of Beetroot will tell if the right lever is in the set you query or not.
They will reply 'o' if the right one is in the set and 'x' for not.
For example 'oooxxx' means the right one is in the set you query the first three time and not in the set you query the last three time.

However, you can't understand the language of beetroot so you might receive AT MOST one error from the reply.
```

Hamming code
https://www.geeksforgeeks.org/hamming-code-in-computer-network/

###### tags: `Final solved`