Ad
  • Default User Avatar

    've find the answer below, thx for good review task

  • Default User Avatar

    explain me, how did you get this prod(5) -> [1,2,3,4,5,6]

    from this enum(5) -> [[5],[4,1],[3,2],[3,1,1],[2,2,1],[2,1,1,1],[1,1,1,1,1]]

    you should have taken this prod(5) -> [1,2,3,4,5]

  • Default User Avatar

    enum(4) -> [[4],[3,1],[2,2],[2,1,1],[1,1,1,1]] and

    enum(5) -> [[5],[4,1],[3,2],[3,1,1],[2,2,1],[2,1,1,1],[1,1,1,1,1]].

    dotest(3, "Range: 2 Average: 2.00 Median: 2.00");

    dotest(4, "Range: 3 Average: 2.50 Median: 2.50");

    dotest(5, "Range: 5 Average: 3.50 Median: 3.50");

    Range : difference between the highest and lowest values.

    how can be 5 range 5, when should be the 4?

  • Default User Avatar

    enum(4) -> [[4],[3,1],[2,2],[2,1,1],[1,1,1,1]] and

    enum(5) -> [[5],[4,1],[3,2],[3,1,1],[2,2,1],[2,1,1,1],[1,1,1,1,1]].

    dotest(3, "Range: 2 Average: 2.00 Median: 2.00");
    dotest(4, "Range: 3 Average: 2.50 Median: 2.50");
    dotest(5, "Range: 5 Average: 3.50 Median: 3.50");
    
  • Default User Avatar

    да я в первый раз сделал через int, через long long пытался пропустить, а там цифры длиннее, ля я с этого пригорел

  • Default User Avatar

    ofc, i am not writting it for you, my friend-gamburger.
    it is not actually translatable, so you have to learn russian to understand, sorry.

  • Default User Avatar

    для гениев, вроде меня:
    while (**hello)
    вот эта xyйня бляTь, при заходе за пределы массива, не завершает цикл, а уходит в ошибку : SIGSEGV (11). Invalid memory access.

  • Default User Avatar

    eбyчий гaмбypгeр, я пoл дHя прoтpaхaлся, ниxeра не pабoтаeт

  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Default User Avatar

    Hello friend, why don't you understand???

    His algoritm is NOT WORKING on high numbers, because his fat friend(also named as *ing suppermassive blackhole) is still at THE END OF THE LINE!!!!

  • Default User Avatar

    The expression (as strings) (act) == (expr) is false: actual=3 16 9 38 95 1131268 49455 347464 59544965313 expected=3 16 9 38 95 1131268 49455 347464 59544965313 496636983114762 85246814996697.

    просто иди нахуй с такими весами и тестами. я больше 300кг чела не видел, 496636983114762 что это за хуйня???

  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Default User Avatar

    in pure c:

    Expected:
    9@?E$,A"V3:($J CV AE_ ,9SOS O718P0D3 N
    Submitted:
    9@?E$,A"V3:($J CV AE_ ,9SOS O718P0D3 N

    Expected:
    E
    Submitted:
    E
    Completed in 0.6425ms

  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Default User Avatar

    that's 8kata bro, it can't be difficult, i have good solution, and it 100% correct on another(mingv) compiler

  • Loading more items...