Modello di fiammiferi#3

Modello di fiammiferi (Discussione)

  1. camal_pro115 nov 2026, 06:40

    слушайте как решитьмкоротко ъъъ\

  2. priceless_planck_72527 set 2026, 12:43
    result += 3 * left + 2 

    what is that in breakdown? how come this was derived

  3. user51806427 giu 2025, 10:17

    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?

    1. Connect7 set 2025, 20:55

      user518064 what exactly is the question, and what do you need help with

  4. user9922776 gen 2025, 12:26modificato

    Якщо в вас не вийшло вирішити це завдання, то пораджу вам спробувати вирішити завдання під номером 8, сірники. Там вирішення схоже до вирішення цієї задачі, але тут воно більш складне.

    1. Misha_Dvali4 ott 2025, 14:01

      user992277 thankyou, that was useful

  5. user78175028 dic 2024, 18:29

    anlamirame niye 12+(n-1)*8 serti alinmir bir nefer yardim ede biler zehmet olmasa

    1. user88262430 dic 2024, 21:08

      user781750 Salam, kublar hem ustune, hem de yanina qoyula biler, mende sizin formulanizdan istifade etmisem, amma bu formula ancaq kublari sira ile duzende isleyir

    2. user88262430 dic 2024, 21:09

      user781750 boyuk ehtimal ile ona gore middle-dir yoxsa easy olardi

    3. user57045311 gen 2025, 20:05modificato

      user781750 men bele bir durtur istifade etdim

      (12*n)-((n-1)*4)

      bu tamami ile dogru hesablayir amma test lerde yalish olur

    4. em1nal1yev21 apr 2025, 16:07

      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

  6. Malik_asgarov12 dic 2024, 12:01

    can l put them side by side and on top of each other's.

    1. skolodyazhnyy12 dic 2024, 12:54
  7. user6833711 dic 2024, 13:50

    need a good hint ... I'm stack this problem for 2 days ...plz help

    1. skolodyazhnyy2 dic 2024, 08:42

      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.

  8. user57680130 nov 2024, 16:11modificato

    12 + 8 * (n - 1)

    Вітаю, що не так з цією формулою?

    На перший кубик 12 сірників, а на кожен наступний по 8, хіба не так?

    1. skolodyazhnyy30 nov 2024, 16:17modificato

      user576801 не так, перегляньте інші коментарі, модель можна збирати у тривимірному просторі.

  9. fonker18 nov 2024, 15:31modificato

    if n>1 then n:=12+((n-1)*8)

    its corect but only for line

    1. user88722318 nov 2024, 15:46

      fonker its not corect

  10. user1919139 nov 2024, 06:42

    8*n+4 olmalı deyil?

    1. yusif200918 nov 2024, 17:18
    2. user7314108 lug 2025, 10:41

      user191913 olure amma ancaq kublar ardicil duzulende, ust uste qoyulanda sehv gelir o

    3. OrudjovCPP1 gen 2026, 11:14

      user191913 Bəli. Doğru formula odur. Sual problemlidir

  11. user48300519 ott 2024, 12:09modificato

    n*(t-4)+4, t=12 formula is correct but answer is wrong. Whyyyyy?

    1. skolodyazhnyy19 ott 2024, 12:21

      user483005 it's not correct, please read other comments

  12. Lami12 ott 2024, 16:49

    meseleni izah ede bilersiz?

    1. user48300519 ott 2024, 12:11

      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

  13. DarkDevilVaqif29 set 2024, 15:20modificato

    Why doesn't 8*n+4 give the wrong answer the formula is correct

    1. skolodyazhnyy29 set 2024, 21:28modificato

      @DarkDevilReal the formula is not correct. For example, you need only 54 matches to make 8 cubes.

    2. mammadlitunar13 feb 2025, 15:20

      DarkDevilVaqif not correct

  14. qurb4n0115 dic 2023, 18:48

    can i put bricks on top of each other?

    1. skolodyazhnyy19 dic 2023, 14:51

      qurb4n01 Yes, you can model cubes in 3D space, you need to use optimal model which uses least matches possible.

  15. sashko_24 nov 2023, 09:43

    чому не дає бали?

    1. skolodyazhnyy24 nov 2023, 10:32

      sashko_ кубики можна складати у тривимірному просторі, а не тільки в ряд

  16. tiulenchik225 ott 2023, 16:22modificato

    Кубики складаються лише в ряд 1 \cdot N?

    1. Anonim_1112 feb 2024, 14:56

      tiulenchik2 ні, вони складаються спочатку в куб з цілою стороною в корінь кубічний з n ну і потім вже на його поверхні

    2. user88718618 apr 2024, 18:21modificato