传送门 题意: 定义相邻数为lcm(x,y)gcd(x,y)frac{lcm(x,y)}{gcd(x,y)}gcd(x,y)lcm(x,y)是一个平方数,则xxx和yyy … Continue reading Codeforces Round #694 (Div. 2) D. Strange Definition 质因子分解 + 平方数
标签: Codeforces
Codeforces Gym 100269G Garage 数学
Garage 题目连接: http://codeforces.com/gym/100269/attachments Description Wow! What a lucky day! … Continue reading Codeforces Gym 100269G Garage 数学
Codeforces–424B–Megacity
题目描述: The administration of the Tomsk Region firmly believes that it’s time to become a megac … Continue reading Codeforces–424B–Megacity