#SP0000161. Các số siêu lũy thừa (The Super Powers)
Bài tập thuộc lộ trình
Mục lục đề ⌄
Các số siêu lũy thừa (The Super Powers)
The Super Powers
Source: UVa 11752 — https://onlinejudge.org/external/117/11752.pdf
Edition: Phuoc Hung OJ Extended; one dataset per program run. Subtasks are authored for PHOJ, not claimed to be official.
Problem
A positive integer is a super power if it can be expressed as a power of at least two distinct positive integer bases with exponents at least (with included as a special case by the original statement). List all such values in , increasing. The value is included.
Input
There is no input.
Output
Print one super power per line, in increasing order. The ellipsis in the original sample is not part of the output.
Subtasks
- Subtask 1 (100 points): No input; print the complete original list.
Example
First six output lines (illustration only)
1
16
64
81
256
512
Important: The full output has additional lines and must all be printed.
Explanation
The displayed six lines are only the first six lines. The required complete output has further lines.