• + 5 comments

    I'm able to pass in Elixir. Do you want to try it again and see if you're still having an issue? Make sure you're printing a space/comma/semicolon-separated list.

    • + 1 comment

      Looks like test cases #1 and #2 are still broken. These cases expect an integer number as an output but it has to be a list instead.

      • + 1 comment

        Confirmed this -- my code passes all the test cases but #1 and #2, and when I "purchase" test case #2, it indicates that the input and output should both be the integer X -- not a list of length X.

        • + 1 comment

          Still broken

          • + 1 comment

            Still broken, and it's broken for 2 years now :(

            • + 1 comment

              Still broken for elixir.

              • + 1 comment

                It passed for me

                • + 1 comment

                  Still broken for elixir!!

                  • + 2 comments

                    IO.inspect's default limit is 50

                    1..90 |> Enum.to_list |> IO.inspect [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, ...]

                    1..90 |> Enum.to_list |> IO.inspect(limit: :infinity) [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90]

                    • + 0 comments

                      Thank you very much! It worked for me on Elixir now!!

                    • + 0 comments

                      This is a very tricky challenge. Thanks for your help, IO.inspect(limit: :infinity) solved the problem.

    • + 0 comments

      Sorry something still seems weird. Testcase 1 passes when "running" the code, but then it fails when "submitting" it.

    • + 1 comment

      Still broken!! Seems like the internal mechanism is counting the number of items in the list, which it uses to assert the test results. So output should be a list so it counts the number of elements. Purchased all test cases and for some wierd reason, even though testcase #1 and #2 fail, seems like #3 and #4 pass, and the output is an integer (total number of elements in the list) just like in the first 2.

      • + 0 comments

        ...was using IO.inspect without options, thats why it was failing, since inspect does not show the whole list if its too long, passing limit: :infinity to the inspect function's options fixed it. Nice!

    • + 1 comment

      I was able to pass all tests cases as well

      • + 0 comments

        how

    • + 0 comments

      Still Broken