result += 3 * left + 2 what is that in breakdown? how come this was derived
mən daha geniş fikirləşdim 3D amma elifdən sonrasını yaza bilmədim ilk elif düzdü amma son ikisi səhfdi məncə mənə komək edə bilərsiz?
user518064 what exactly is the question, and what do you need help with
Якщо в вас не вийшло вирішити це завдання, то пораджу вам спробувати вирішити завдання під номером 8, сірники. Там вирішення схоже до вирішення цієї задачі, але тут воно більш складне.
user992277 thankyou, that was useful
anlamirame niye 12+(n-1)*8 serti alinmir bir nefer yardim ede biler zehmet olmasa
user781750 Salam, kublar hem ustune, hem de yanina qoyula biler, mende sizin formulanizdan istifade etmisem, amma bu formula ancaq kublari sira ile duzende isleyir
user781750 boyuk ehtimal ile ona gore middle-dir yoxsa easy olardi
user781750 men bele bir durtur istifade etdim
(12*n)-((n-1)*4)
bu tamami ile dogru hesablayir amma test lerde yalish olur
user781750 bu sert ancaq ardicil duzulmesini neere alir amma biz bulari 2-2, 3-3, 4-4 ... usd usde duzebilerik bele olanda duz olmur bu sert
can l put them side by side and on top of each other's.
Malik_asgarov Yes
need a good hint ... I'm stack this problem for 2 days ...plz help
user683371 Experiment with arranging 4, 6, and 8 cubes in different configurations to determine which works best. Try aligning them in a straight line (1x1x4), forming a rectangular cuboid (1x2x2), or creating a cube (2x2x2). Focus on finding the arrangement that uses the fewest matches, then try to implement it.
12 + 8 * (n - 1)
Вітаю, що не так з цією формулою?
На перший кубик 12 сірників, а на кожен наступний по 8, хіба не так?
user576801 не так, перегляньте інші коментарі, модель можна збирати у тривимірному просторі.
if n>1 then n:=12+((n-1)*8)
its corect but only for line
fonker its not corect
8*n+4 olmalı deyil?
user191913 4*n+8
user191913 olure amma ancaq kublar ardicil duzulende, ust uste qoyulanda sehv gelir o
user191913 Bəli. Doğru formula odur. Sual problemlidir
n*(t-4)+4, t=12 formula is correct but answer is wrong. Whyyyyy?
user483005 it's not correct, please read other comments
meseleni izah ede bilersiz?
Lami bax xanim sekilde kub verib birlesik onun tillerin sayini tapmalisan amma istenilen sayda kub ucun sen ele bir kod yazmalisan ki 5 versen meselen proqram hesablamalidir ki nece til olacaq
Why doesn't 8*n+4 give the wrong answer the formula is correct
@DarkDevilReal the formula is not correct. For example, you need only 54 matches to make 8 cubes.
DarkDevilVaqif not correct
can i put bricks on top of each other?
qurb4n01 Yes, you can model cubes in 3D space, you need to use optimal model which uses least matches possible.
чому не дає бали?
sashko_ кубики можна складати у тривимірному просторі, а не тільки в ряд
Кубики складаються лише в ряд 1 \cdot N?
tiulenchik2 ні, вони складаються спочатку в куб з цілою стороною в корінь кубічний з n ну і потім вже на його поверхні
tiulenchik2 нет