cf/mirror

Good Numbers (hard version)

CF
1249C21500· specialist2s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
8
1
2
6
13
14
3620
10000
1000000000000000000
Output
1
3
9
13
27
6561
19683
1350851717672992089
1249C2.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)