摘要:
题目链接: https://projecteuler.net/problem=501 题意: $f(n)$ be the count of numbers not exceeding $n$ with exactly eight divisors. 就是找少于等于 $n$中只有8个因子的个数。 Yo 阅读全文
摘要:
题目链接: http://codeforces.com/problemset/problem/919/E 题意: 让你求满足 $na^n\equiv b \pmod p$ 的 $n$ 的个数。 $2 ≤ p ≤ 10^{6} + 3, 1 ≤ a, b using namespace std; ty 阅读全文
摘要:
题目链接: https://projecteuler.net/problem=363 题目: A cubic Bézier curve is defined by four points: $P_0, P_1, P_2$ and $P_3$. The curve is constructed as 阅读全文
摘要:
题目链接: https://projecteuler.net/problem=516 题目: $5$ smooth numbers are numbers whose largest prime factor doesn't exceed $5$. $5$ smooth numbers are al 阅读全文
摘要:
题目链接: https://projecteuler.net/problem=429 题目: A unitary divisor $d$ of a number $n$ is a divisor of $n$ that has the property $gcd(d, n/d) = 1$. The 阅读全文