#3848. C++-循环嵌套-幂和数

C++-循环嵌套-幂和数

Background

Description

image

image

Format

Input

Output

Samples

2 8
6
10 100
20

Limitation

1s, 1024KiB for each test case.