Masala #GPASUW133T

Xotira 16 MB Vaqt 1000 ms Qiyinchiligi 1 %
14

  

N xonali son

Siz 0,1,2,3,4,5,6,7,8,9 raqamlari ishtirokida n xonali son jami nechta borligini topishingiz kerak


Kiruvchi ma'lumotlar:

N soni kiritiladi


Chiquvchi ma'lumotlar:

N xonali sonni jami soni chiqishi kerak


Misollar
# input.txt output.txt
1
513
900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Yechimini yuborish
Bu amalni bajarish uchun tizimga kiring, agar profilingiz bo'lmasa istalgan payt ro'yxatdan o'tishingiz mumkin