Ad
  • Custom User Avatar

    please add more examples, i don't understand what do i need to do

  • Custom User Avatar
  • Custom User Avatar

    i already solved it, but i'm getting Execution timed out

  • Custom User Avatar

    I hope codewars does not share your xenophobic personal views.

  • Custom User Avatar

    Not necessarily. There are some approaches described here: https://docs.codewars.com/authoring/recipes/adding-images . As for a complete solution to the problem, I know that maintainers plan to introduce a possibility of uploading images to CW servers. Until then, we need to live with whatever possibilities we got, and picking one is a matter of trade-offs. There's no perfect solution at the moment, so just pick whichever you think is "good enough". I am personally fine with external links as long as the only problem with them is being inaccessible for citizens of Orvellistan, or while going through a VPN located there (note: I am not exactly sure what caused the issue in Unnamed's case).

  • Custom User Avatar

    It looks like that server blocked Russian IP addresses. This blocking coming from servers' side isn't rare these days.
    In any case, it's an http resource on an https page, it could easily be blocked by a browser with stricter settings. So I suggest it should be a data URI, if an image at all.

  • Custom User Avatar

    Nothing is wrong with random tests. What is wrong is your code, that produces the following error, as you can see:

    RecursionError: maximum recursion depth exceeded in comparison
    

    Which means there are too many recursive calls. You can make a research online to try and see how you could handle that, though, if I may give you an advice: don't use recursion here. Recursive solutions are generally bad (bad performance + crash prone) when recursion is too deep.

  • Custom User Avatar

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