QOJ.ac

QOJ

Limite de temps : 1.0 s Limite de mémoire : 64 MB Points totaux : 100

#18083. Phương trình dễ

Statistiques

Tìm số nghiệm của phương trình $$x^5 + y^4 + z^3 + w^2 + t = n,$$ trong đó $x, y, z, w$ và $t$ là các biến nguyên dương, và $n$ là một số nguyên dương cho trước.

Dữ liệu vào

Một dòng duy nhất chứa số nguyên $n$ ($1 \le n \le 10^9$).

Dữ liệu ra

In ra một số nguyên duy nhất – số lượng nghiệm của phương trình.

Ví dụ

Dữ liệu vào 1

12

Dữ liệu ra 1

3

Dữ liệu vào 2

2019

Dữ liệu ra 2

7386

Dữ liệu vào 3

1000000

Dữ liệu ra 3

26734730

Discussions

About Discussions

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.

Open Discussions 0
No discussions in this category.

Issues

About Issues

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:

  1. This is not a place to publish discussions, editorials, or requests to debug your code. Issues are only visible to you and problem moderators.
  2. Do not submit duplicated issues.
  3. Issues must be filed in English or Chinese only.
Active Issues 0
No issues in this category.
Closed/Resolved Issues 0
No issues in this category.