#3875. C++-定义一个整数是「好数」,当且仅当它的数位和是13的倍数,求次小(第二小)的「好数」
C++-定义一个整数是「好数」,当且仅当它的数位和是13的倍数,求次小(第二小)的「好数」
Background
Description
Format
Input
Output
Samples
3
1 100
100 1000
1000 10000
58
148
1048
Limitation
1s, 1024KiB for each test case.
3
1 100
100 1000
1000 10000
58
148
1048
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.