摘要:
link:https://codeforces.com/contest/1423/problem/K 题意:对两个不同正整数 \(a,b\) ,称他们是朋友,当且仅当 \(\gcd(a,b),\frac{a}{\gcd(a,b)},\frac{b}{\gcd(a,b)}\) 作为边长可以构成三角形。 阅读全文
摘要:
link:https://codeforces.com/contest/1423/problem/J Given a number \(m\), how many polynomials \(P\) with coefficients in set \({\{0,1,2,3,4,5,6,7\}}\) 阅读全文