#1835. C++-循环for-⼩明的幸运数

C++-循环for-⼩明的幸运数

Background

Description

image

Format

Input

Output

Samples

7
1
10
7
7
10
20
31

Limitation

1s, 1024KiB for each test case.