求方程 $$x^5 + y^4 + z^3 + w^2 + t = n$$ 的解的个数,其中 $x, y, z, w, t$ 为正整数变量,$n$ 为已知的正整数。
输入包含一个整数 $n$ ($1 \le n \le 10^9$)。
输出一个整数,即解的个数。
样例
输入格式 1
12
输出格式 1
3
输入格式 2
2019
输出格式 2
7386
输入格式 3
1000000
输出格式 3
26734730
求方程 $$x^5 + y^4 + z^3 + w^2 + t = n$$ 的解的个数,其中 $x, y, z, w, t$ 为正整数变量,$n$ 为已知的正整数。
输入包含一个整数 $n$ ($1 \le n \le 10^9$)。
输出一个整数,即解的个数。
12
3
2019
7386
1000000
26734730
The discussion section is only for posting: General Discussions (problem-solving strategies, alternative approaches), and Off-topic conversations.
This is NOT for reporting issues! If you want to report bugs or errors, please use the Issues section below.
If you find any issues with the problem (statement, scoring, time/memory limits, test cases, etc.), you may submit an issue here. A problem moderator will review your issue.
Guidelines: