Half of Same solution codeforces

Half of Same solution codeforces Polycarp has an array of nn (nn is even) integers a1,a2,…,ana1,a2,…,an. Polycarp conceived of a positive integer kk. After that, Polycarp began performing the following operations on the array: take an index ii (1≤i≤n1≤i≤n) and reduce the number aiai by kk. Half of Same solution Continue reading Half of Same solution codeforces