#3046. C++-循环for-累计相加(拓展01-使用for循环嵌套实现)
C++-循环for-累计相加(拓展01-使用for循环嵌套实现)
Background
Description
使用for循环嵌套实现
Format
Input
Output
Samples
3
10
4
20
10
220
Limitation
1s, 1024KiB for each test case.
使用for循环嵌套实现
3
10
4
20
10
220
1s, 1024KiB for each test case.
By signing up a PaiBlockly编程创客平台图形模块编程软件系统 universal account, you can submit code and join discussions in all online judging services provided by us.