Ad
  • Default User Avatar

    Approved. Thanks :)

  • Custom User Avatar

    Ruby translation kumited -- please check and approve.

  • Default User Avatar
  • Default User Avatar
  • Default User Avatar

    Fixed.

  • Default User Avatar

    Fixed.

  • Default User Avatar

    I think I updated that ? I don't see how you still have that problem ?

  • Custom User Avatar

    ( JS, possibly others )

    Random tests expect an array of at least two elements, even if passed n is less.

  • Custom User Avatar

    ( JS )

    This one is even worse

    Expected: [0, 0, 35, 70, 140, 245, 420, 700, 1155, 1890, 3080, 5005, 8120, 13160, 21315, 34510, 55860, 90405, 146300, 236740, 383075, 619850, 1002960, 1622845, 2625840, 4248720, 6874595, 11123350, 17997980, 29121365, 47119380, 76240780, 123360195, 199601010, 322961240, 522562285, 845523560, 1368085880, 2213609475, 3581695390, 5795304900, 9377000325, 15172305260, 24549305620, 39721610915, 64270916570, 103992527520, 168263444125, 272255971680, 440519415840, 712775387555, 1153294803430, 1866070191020, 3019364994485, 4885435185540, 7904800180060, 12790235365635, 20695035545730, 33485270911400, 54180306457165, 87665577368600, 141845883825800, 229511461194435, 371357345020270, 600868806214740, 972226151235045, 1573094957449820, 2545321108684900, 4118416066134755, 6663737174819690, 10782153240954480, 17445890415774206, 28228043656728720, 45673934072502960], instead got: [0, 0, 35, 70, 140, 245, 420, 700, 1155, 1890, 3080, 5005, 8120, 13160, 21315, 34510, 55860, 90405, 146300, 236740, 383075, 619850, 1002960, 1622845, 2625840, 4248720, 6874595, 11123350, 17997980, 29121365, 47119380, 76240780, 123360195, 199601010, 322961240, 522562285, 845523560, 1368085880, 2213609475, 3581695390, 5795304900, 9377000325, 15172305260, 24549305620, 39721610915, 64270916570, 103992527520, 168263444125, 272255971680, 440519415840, 712775387555, 1153294803430, 1866070191020, 3019364994485, 4885435185540, 7904800180060, 12790235365635, 20695035545730, 33485270911400, 54180306457165, 87665577368600, 141845883825800, 229511461194435, 371357345020270, 600868806214740, 972226151235045, 1573094957449820, 2545321108684900, 4118416066134755, 6663737174819690, 10782153240954480, 17445890415774204, 28228043656728720, 45673934072502960]

  • Custom User Avatar

    Not to me.

    Expected: [0, 1, 79, 158, 315, 551, 944, 1573, 2595, 4246, 6919, 11243, 18240, 29561, 47879, 77518, 125475, 203071, 328624, 531773, 860475, 1392326, 2252879, 3645283, 5898240, 9543601, 15441919, 24985598, 40427595, 65413271, 105840944, 171254293, 277095315, 448349686, 725445079, 1173794843, 1899240000, 3073034921, 4972274999, 8045309998, 13017585075, 21062895151, 34080480304, 55143375533, 89223855915, 144367231526, 233591087519, 377958319123, 611549406720, 989507725921, 1601057132719, 2590564858718, 4191621991515, 6782186850311, 10973808841904, 17755995692293, 28729804534275, 46485800226646, 75215604760999, 121701404987723, 196917009748800, 318618414736601, 515535424485479, 834153839222158, 1349689263707715, 2183843102929951, 3533532366637744, 5717375469567773, 9250907836205596], instead got: [0, 1, 79, 158, 315, 551, 944, 1573, 2595, 4246, 6919, 11243, 18240, 29561, 47879, 77518, 125475, 203071, 328624, 531773, 860475, 1392326, 2252879, 3645283, 5898240, 9543601, 15441919, 24985598, 40427595, 65413271, 105840944, 171254293, 277095315, 448349686, 725445079, 1173794843, 1899240000, 3073034921, 4972274999, 8045309998, 13017585075, 21062895151, 34080480304, 55143375533, 89223855915, 144367231526, 233591087519, 377958319123, 611549406720, 989507725921, 1601057132719, 2590564858718, 4191621991515, 6782186850311, 10973808841904, 17755995692293, 28729804534275, 46485800226646, 75215604760999, 121701404987723, 196917009748800, 318618414736601, 515535424485479, 834153839222158, 1349689263707715, 2183843102929951, 3533532366637744, 5717375469567773, 9250907836205594]

    Not every time, but sometimes.

  • Custom User Avatar

    Instruction says: n will always be greater than or equal to 2.
    It is not true for random tests.