• Sign Up
    Time to claim your honor
  • Training
  • Practice
    Complete challenging Kata to earn honor and ranks. Re-train to hone technique
  • Freestyle Sparring
    Take turns remixing and refactoring others code through Kumite
  • Community
  • Leaderboards
    Achieve honor and move up the global leaderboards
  • Chat
    Join our Discord server and chat with your fellow code warriors
  • Discussions
    View our Github Discussions board to discuss general Codewars topics
  • About
  • Docs
    Learn about all of the different aspects of Codewars
  • Blog
    Read the latest news from Codewars and the community
  • Log In
  • Sign Up
Samsonov_ilya Avatar
Name:Unknown
Clan:Unknown
Member Since:Nov 2021
Last Seen:Mar 2024
Profiles:
    Following:0
    Followers:0
    Allies:0
    View Profile Badges
    • Stats
    • Kata
    • Collections
    • Kumite
    • Social
    • Discourse
    • Conversations (93)
    • Replies
    • Authored
    • Needs Resolution
    • Custom User Avatar
      • tobeannouncd
      • created a suggestion for "Soviet abacus" kata
      • 9 months ago

      Haskell translation

      Since other languages may not have an equivalent to Python's Decimal, I've updated the description to be a bit more language-agnostic for non-Python solutions by having the return type be a tuple of (whole, hundredths). This seems like a fair compromise that satisfies the precision for monetary values.

    • Custom User Avatar
      • trashy_incel
      • resolved an issue on "Soviet abacus" kata
      • 2 years ago
    • Custom User Avatar
      • trashy_incel
      • created a question for "Soviet abacus" kata
      • 3 years ago

      Why is it a soviet abacus ?

    • Custom User Avatar
      • trashy_incel
      • created an issue for "Soviet abacus" kata
      • 3 years ago

      apparently you switched to Decimals, but this is not indicated anywhere; the tests crash when i return a float:

      unsupported operand type(s) for -: 'float' and 'decimal.Decimal'

      you should :

      • not use fuzzy equal anymore ---> this is how you make a price literal : Decimal('12.11'); the precision will be exact
      • add a return type hint;
      • remove this line from the description :

        round the answer to 2 decimal places!

    • Custom User Avatar
      • Samsonov_ilya
      • resolved an issue on "The simplest calculator" kata
      • 3 years ago

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

    • Custom User Avatar
      • Paul Robertson
      • created an issue for "The simplest calculator" kata
      • 3 years ago

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

    • Custom User Avatar
      • Samsonov_ilya
      • commented on "The simplest calculator" kata
      • 3 years ago

      most likely, there is an error in the compatibility of numpy and decimal. they give different answers. I'll try to come up with something, but for now I can only advise not to use numpy in solving this kata

    • Custom User Avatar
      • Samsonov_ilya
      • commented on "The simplest calculator" kata
      • 3 years ago

      Hello. No, it's a bug. I didn't think through that someone would use numpy. Thanks for the information, I will try to fix the problem in the near time

    • Custom User Avatar
      • Paul Robertson
      • commented on "The simplest calculator" kata
      • 3 years ago

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

    • Custom User Avatar
      • antoninopio
      • commented on "The simplest calculator" kata
      • 3 years ago

      It's a little bit weird but OK

    • Custom User Avatar
      • jpssj
      • commented on "Alphabetic Anagrams" kata
      • 3 years ago

      You have to read things on recursion. If you want a book, "The Recursive Book of Recursion" is a beginner friendly one.

    • Custom User Avatar
      • Samsonov_ilya
      • commented on "Alphabetic Anagrams" kata
      • 3 years ago

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

    • Custom User Avatar
      • Samsonov_ilya
      • resolved an issue on "Not childish games" kata
      • 3 years ago

      Fixed. Thanks

    • Custom User Avatar
      • Mercy Madmask
      • created an issue for "Not childish games" kata
      • 3 years ago
      5(this is the minimum) = 50
      6 = 50*2 + (0 - 5) = 95
      7 = 95*2 + (9 - 5) = 186 <- "You added left and removed right (value is correct though)"
      8 = 186*2 + (6-1) = 377
      9 = 377*2 + (7-3) = 758
      10 = 758*2 + (8-7) = 1517
      
    • Custom User Avatar
      • Samsonov_ilya
      • commented on "Not childish games" kata
      • 3 years ago

      I could write in my native language, but it would be even more difficult to understand. I apologize for the crooked translation :)

    • Loading more items...
    • © 2025 Codewars
    • About
    • API
    • Blog
    • Privacy
    • Terms
    • Code of Conduct
    • Contact

    Confirm

    • Cancel
    • Confirm

    Collect: undefined

    Loading collection data...