【数论】Codeforces1025G Company Acquisitions

NoSuchKey