Ad
  • Custom User Avatar

    I'm passing 98 random tests out of 100. My algorithm can't handle an array of 42,000 numbers. Trouble :(

  • Custom User Avatar

    I think that global variables should take initial values between tests, otherwise the tests receive different input data

  • Custom User Avatar

    Bombs do not detonate other bombs! I did not understand from the description.

  • Custom User Avatar

    I noticed a very strange feature. If you create global variables (not in a function). Then their state persists between tests. I first created dictionaries as global variables, and did not understand what was happening :) This is very strange in my opinion.

  • Custom User Avatar

    Thank you! The task turned out to be more difficult than I expected. Unfortunately, I didn't get it right away because of my very poor English.

  • Custom User Avatar

    After reading the discussions and making sure of my code, I found out that not all words have to be in the 1000 word set. And this must be indicated explicitly in the description! But I still can't solve the problem.

    For example, I can return count 5 when I need 15. In doing so, I verified that when I return 5, some of the words are present in the 1000 word set. That is, my code works exactly as I want. And I cannot understand why I am not passing random tests.

  • Custom User Avatar

    I completely agree

  • Custom User Avatar

    Thank you! It was very hard! I've been looking for a solution for a long time. But the solution I found seems to me to be very tricky. 5 lines in total :)

  • Custom User Avatar

    Do I only have to slide when I land on the snake's head? And what is the difference between "Player n wine" and "Game over"?

  • Custom User Avatar

    It is much easier than usual for 5 kyu

  • Custom User Avatar

    If we don't know the city of a friend, we don't visit that friend

  • Custom User Avatar

    Thank you! Interesting and not easy

  • Custom User Avatar

    I really like 5kyu! This is the level where writing scripts is no longer difficult. It is difficult for the scripts to work quickly! Initially my solution was 20-25 lines. As a result, I completely changed the algorithm and wrote it in 5 lines, it works instantly :) Thanks for the kata! I got great pleasure!

  • Custom User Avatar

    I feel so smart! After all, my solution is exactly the same :)

  • Custom User Avatar

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

  • Loading more items...