My first contest in this year was SnarkNews New Year Blitz Contest (problems, results).
Due to the difference of time zones, it was somewhat a strange contest for me. I successfully celebrated 6:00 AM of New Year's Day.
Problem G was easy but nice. You are given a decimal number up to 250 digits. Consider all integers that can be obtained by permutating the digits, and compute the gcd of those integers.
Due to the difference of time zones, it was somewhat a strange contest for me. I successfully celebrated 6:00 AM of New Year's Day.
Problem G was easy but nice. You are given a decimal number up to 250 digits. Consider all integers that can be obtained by permutating the digits, and compute the gcd of those integers.