摘要: A. Array Balancing You are given two arrays of length n: a1,a2,…,an and b1,b2,…,bn. You can perform the following operation any number of times: Choos 阅读全文
posted @ 2022-04-13 23:34 IvyLH03 阅读(100) 评论(0) 推荐(0)
摘要: 复健,水平下降剧烈 A. GCD vs LCM You are given a positive integer n. You have to find 4 positive integers a,b,c,d such that a+b+c+d=n, and gcd(a,b)=lcm(c,d). I 阅读全文
posted @ 2022-04-13 01:03 IvyLH03 阅读(192) 评论(0) 推荐(0)