Comedy's Not Omnipotent
시간 제한4초메모리 제한2048 MB
길이 100000인 무작위 이진 수열을, 전체 크기가 3n 이하인 부분집합 합 질의를 n/2번 미만 사용해 알아낸다.
문제

This is an interactive problem.
Vim, Emacs, and Nano are playing a guessing game. Vim secretly told Nano a random binary sequence of length . Emacs can query Nano with a set of indices . Nano will reply with . Could you please help Emacs find in less than queries? Additionally, the total size of the sets in all queries must not be greater than .
힌트
The size in all tests. The example with shows the format but will not be tested.
There are at most tests in this problem. The tests were generated randomly, but are fixed in advance. In each test, every binary sequence of length had the probability of to be generated.