#2705. C++-GESP 2024-03认证二级-编程题01(拓展01-结果值不判断超过1000000)

C++-GESP 2024-03认证二级-编程题01(拓展01-结果值不判断超过1000000)

Background

Description

结果值不判断超过1000000(结果数值也保证不超过int的范围)

image

image

Format

Input

Output

Samples

2
3
5
15
3
100
100
100
1000000
4
100
100
100
2
2000000

Limitation

1s, 1024KiB for each test case.

Statistics

Related

In following homework:

C++-题目-20240329