No testdata at current.
No submission language available for this problem.
某公寓有 nnn 层,每层有 kkk 间房间。大家知道,如果一个房间是第 iii 层第 jjj 间,那么它的房间号就是一个形如 i0ji0ji0j 的三位正整数。现在输入给出 nnn 和 kkk (保证 nnn 和 kkk 为一位正整数),请编程求出所有房间号之和并输出。
按照如下格式输入
NNN KKK
输出一个整数
1 2
203
3 3
1818
By signing up a 西蒙科教 universal account, you can submit code and join discussions in all online judging services provided by us.
Using your 西蒙科教 universal account