[SOLUTION] Anonymous Informant solution codeforces

Anonymous Informant time limit per test 3 seconds memory limit per test 512 megabytes input standard input output standard output You are given an array b1,b2,…,bn�1,�2,…,��. An anonymous informant has told you that the array b� was obtained as follows: initially, there existed an array a1,a2,…,an�1,�2,…,��, after which the following two-component operation was performed k� times: A fixed point†† x� of the array a� was … Read more