D. Array and GCD | Educational Codeforces Round 178 | Number theory, Greedy

Click a thumbnail to watch in a lightweight modal. (No downloads — view only.)