Ad
  • Custom User Avatar

    Ranks on old katas can't be changed

  • Custom User Avatar

    Ah well, if you put it this way :P
    And aren't there wsay to adjust the level anyway?

  • Custom User Avatar

    old kata == easy kata

  • Custom User Avatar

    Nice kata but I think it shouldn't be 5 kyu, at least for Python/Ruby... 6 kyu would be more appropriate

  • Custom User Avatar

    @Bubbler thanks for that Kata, super enriching for me to work on it!

    However I've got an issue with my Python solution...
    On my computer it solves a 100k-line in a bit more than 2s:

    ⇒  python -m cProfile /Users/olance/Dev/python-challenges/coloured-triangles/insane_solution.py
    6 function calls in 2.2045 seconds
    

    However when I attempt to submit this code, it times out :|
    So I'm wondering: could this be related to the allocated time in Python 3? I'm asking because when I attempt to submit with Python 3.4.3 it hangs and finally times out with no tests passed/failed, whereas when I run the same code with Python 2.7.6 it shows "Passed" for all the basic, small and medium tests before timeouting...

    Are the ~6s you referred to 3 months ago is the total time to run all the 300 tests described in the description? (which would mean I'm still far from an optimal solution...)