#1864. C++-GESP 2023-09认证一级-编程题02(小明的幸运数)

C++-GESP 2023-09认证一级-编程题02(小明的幸运数)

Background

Description

image

Format

Input

Output

Samples

7
1
10
7
7
10
20
31

Limitation

1s, 1024KiB for each test case.