Masala #I6TGZF7PHB
Ajoyib ketma-ketlik #1
Sizga quyidagicha ketma-ketlik berilgan.
15 , 624 , 9999 , 83520 , .....
ushbu ketma-ketlikning n - hadini toping
INPUT.TXT kirish faylida quyidagilar kiritiladi.
1-chi qatorda testlar soni kiritiladi ( 0 < t < 1000 )
2-chi qatorda n soni kiritiladi ( 0 < n < 91 )
OUTPUT.TXT chiqish faylida har bir test uchun alohida qatorda bittadan butun son, masalaning javobini chop eting.
# | input.txt | output.txt |
---|---|---|
1 |
2 1 2 |
15 624 |
n soni natural son ekanligi kafolatlanadi