• 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
  • Career
  • Opportunities
    Find your next career challenge – powered by Qualified Jobs
  • 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
  • Log In
  • Sign Up
tl123 Avatar
Name:Unknown
Clan:FDM Group
Member Since:May 2017
Last Seen:Feb 2022
Profiles:
    Following:165
    Followers:166
    Allies:164
    View Profile Badges
    Ad
    Promoted
    • Stats
    • Kata
    • Collections
    • Kumite
    • Social
    • Discourse
    • Conversations (70)
    • Replies
    • Authored
    • Needs Resolution
    • Custom User Avatar
      • xyzzzzz
      • commented on "Escape with your booty!" kata

      I really liked this Kata!

    • Custom User Avatar
      • Mohrezakhorasany
      • commented on "Escape with your booty!" kata

      Thanks that was lots of fun!

    • Custom User Avatar
      • Voile
      • resolved an issue on "Laxative Shot Roulette " kata

      Fixed

    • Custom User Avatar
      • ejini战神
      • resolved a suggestion on "Calculator" kata

      raised as issue

    • Custom User Avatar
      • FArekkusu
      • created an issue for "Laxative Shot Roulette " kata

      C version generates warnings.

    • Custom User Avatar
      • user8436785
      • commented on "Escape with your booty!" kata

      There are two example tests, but in the real tests (The ones when you press Attempt), there's random tests.

    • Default User Avatar
      • Krzysztof7
      • commented on "Escape with your booty!" kata

      Is there only 2 tests or am I blind?

    • Custom User Avatar
      • Blind4Basics
      • commented on "Escape with your booty!" kata

      iirc, if it's in range, the chip is caught

    • Custom User Avatar
      • Konstantin Modin
      • commented on "Laxative Shot Roulette " kata

      Hello!
      In JavaScript in console.log I have correct answer, but got error that result is different:
      It is like my variable changes value when goes to tests.
      Passed: 106 Failed: 6

      Log
      not rounded result= 0.1035017922163077
      rounded result = 0.1
      Expected: 0.1, instead got: 0.09

      Log
      not rounded result= 0.055450503948645403
      rounded result = 0.06
      Expected: 0.06, instead got: 0.05

    • Default User Avatar
      • CentralSet
      • created a question for "Escape with your booty!" kata

      What if the pirate ship reaches the right edge but there's a Navy ship in the range? Do I have to return false or true?

    • Custom User Avatar
      • Blind4Basics
      • commented on "Escape with your booty!" kata

      I tried to update the java version, but the reference solution is incorrect and cannot handle some of the edge cases. Since you (the author) still seems to be active, I'll let you update your solution. If you're not up to that, you can use mine instead of yours (just put a comment at the top explaining it).

      You may find the full new test suite (with the internal solution updated) in this fork.

      cheers.

    • Custom User Avatar
      • Blind4Basics
      • created an issue for "Escape with your booty!" kata

      I scrutinized the edge cases and it seems that the ones originally used were far from enough to purge some implementations. So I added 2x25 fixed tests to scan through a lot of possibilities and ensure the algorithm.

      I updated the python test suite, but those tests needs to be added to the C++ and Java versions too.

      cheers

    • Default User Avatar
      • B1ts
      • resolved a suggestion on "Escape with your booty!" kata
    • Custom User Avatar
      • Blind4Basics
      • commented on "Escape with your booty!" kata

      confirmed, that's a hole in my solution. Good catch.

    • Default User Avatar
      • B1ts
      • commented on "Escape with your booty!" kata

      Looks much better, thanks. And yes I solved only the python version, idk about other languages.

    • Loading more items...
    • © 2022 Codewars
    • About
    • API
    • Announcements
    • Privacy
    • Terms
    • Contact
    • powered by

    Confirm

    • Cancel
    • Confirm

    Collect: kata

    Loading collection data...

    Add To My Collections
      • View
        Remove Add
      You have not created any collections yet.

      Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.

      Get started now by creating a new collection.

      You must wait until you have earned at least 20 honor before you can create new collections.

    Set the name for your new collection. Remember, this is going to be visible by everyone so think of something that others will understand.

    Create & Add New Collection