Ad
  • Custom User Avatar

    I don't know how it possible, but order of actions here is really important - I firstly misread description and put sub ahead of add and get tons of errors; after switching their places in program all test cases were passed. But mathematically these two actions can be done without a specific order, am I wrong?

  • Custom User Avatar

    I works with simple WITH tables... but it can be buggy in case where some items won't have any good/ok/bad scores

  • Custom User Avatar

    I don't really get why this kata named '...JOIN'

  • Custom User Avatar

    I advice you do not forget about leap year when getting number of full years by dividing (number_of_days by 365.25 instead of 365)

  • Custom User Avatar

    What is the name of a table in SQL part?

  • Custom User Avatar

    Excuse me, what should I do with '\n's?
    There is no hint about it in description. As I understand it neither shifting like other symbols (because result for multilined strings is differs from single-lined), nor temporately saved like position of blanks (because initial and result strings don't match each other in both number of symbols in each line and number of words in each line)

  • Custom User Avatar

    It was said in describtion that list of integers could be VERY long, so it's practically to find in first 3 digits which more - odds or evens - and later look for for only one odd/even number and imidiately break after finding such digit. If you have 999999999 odd numbers and only one even in position № 7 for example. So, you can economy tremendous amount of machine resourses