Masala #I98FGGFWBD
Staklash #3
Bu barcha “Staklash ” masalalarini Complex varianti. Minecraftda hamma narsalar ham 64x staklanmaydi ! Minecraftda staklash 3 turga bolinadi - 64x, 16x va 1x. Va ular har bir ITEM har xil staklanadi.
1-qatorda S satr - Item turi beriladi
2-qatorda S turiga mansub N - ITEMlar soni kiritiladi.
Chiqish faylida staklashni yana “|64|64|56|” ko'rinishida chop eting!
# | input.txt | output.txt |
---|---|---|
1 |
TNT 624 |
|64|64|64|64|64|64|64|64|64|48| |
2 |
sword 10 |
|1|1|1|1|1|1|1|1|1|1| |
S ITEM kirishi mumkin bo'lgan ITEM turi faqat bular :
['sword','axe','pickaxe','shovel','hoe','armor','trident','totem of undying']
['snowball','bucket','egg','honey bottle','ender pearl','armor stand']
['decoration block','building block','door','spawn egg','tnt','arrow']