Hi all, May be I understand the question wrongly. So may I ask that
If at my first query, one of the four possible quantum fluctuation effects would be applied, how can I use the result of first ten query as a result? Because at my first query, predetermined array should have been changed. Test Set 1 In Test Set 1, there are only 10 positions in the string. We can query for each of them and then submit the complete string, without having to worry about any quantum fluctuations (which would only happen if we submitted an 11th query). t, b = readline_int_list() // reads 100 into t and 10 into b. // The judge starts with the predetermined array for this test case: // 0001101111. (Note: the actual Test Set 1 will not necessarily // use this array.) printline 1 to stdout // we ask about position 1. flush stdout // Since this is our 1st query, and 1 is 1 mod 10, the judge secretly and // randomly chooses one of the four possible quantum fluctuation effects, as // described above. It happens to choose complementation + reversal, so now // the stored value is 0000100111. r = readline_chr() // reads 0. printline 6 to stdout // we ask about position 6. flush stdout Thank you very much. -- You received this message because you are subscribed to the Google Groups "Google Code Jam" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/google-code/28a8f104-67da-49c9-8a81-352e4aa37c63%40googlegroups.com.
