摘要: CF1822 G1. Magic Triples (Easy Version) \(1 \leq a_i \leq 10^6\) 题解 显然关键在于\(j\),我们不妨枚举\(j\),显然\(a[i]\)是\(a[j]\)的约数 对于每个\(a[j]\)来说,枚举其约数,然后即可求出倍数\(b\), 阅读全文
posted @ 2023-10-07 14:51 Zeoy_kkk 阅读(12) 评论(0) 推荐(0) 编辑