For every judge testcase, your submitted program is run twice in two independent fresh processes. The only information passed between the runs is one integer printed by the first run.
T claims that everything they say can be trusted. You have discovered that some of T's statements are lies.
The statements are numbered from through , and exactly of them are lies. Let be the set of their numbers.
After seeing , you want to warn Miku. You may communicate only one integer satisfying
On the first run, your program receives and prints . The second run starts as a separate fresh process and retains no state, files, or memory about . It receives only the value printed by the first run and prints the statement numbers it considers lies.
Every number printed by the second run must belong to . Printing even one number outside results in a wrong answer. Help Miku identify as many lies as possible in every testcase.
Scoring
Assume that no incorrect statement number is printed. Your score is determined by the minimum value of over every judge testcase.
At least |
A solution with receives points. Printing a number that is not a lie, or producing malformed output, results in a wrong answer.
Your program is run twice for each judge testcase. The first integer of the input identifies the run.
The first run receives:
On the first run, print one integer :
It must satisfy . Any additional token other than surrounding whitespace results in a wrong answer.
Score |
The values are the distinct numbers of the false statements.
The second run receives:
is the integer printed by your program on the first run of the same testcase.
On the second run, print the number of recovered lies and distinct statement numbers in the following format:
The second line may be omitted when . Every must belong to .
Your program must terminate after each run. Files, processes, and memory created during the first run are not available during the second run.