• 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
cplir-c Avatar
Name:Unknown
Clan:Unknown
Member Since:May 2018
Last Seen:Apr 2025
Profiles:
Following:0
Followers:8
Allies:0
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations
  • Replies
  • Authored (59)
  • Needs Resolution
  • Custom User Avatar
    • cplir-c
    • resolved an issue on " Baby shark lyrics generator" kata
    • 3 months ago

    I did, but it was resulting in a wide string... or so I thought. It turned out to be an L in front of a string being interpreted as a wide string marker.

  • Custom User Avatar
    • cplir-c
    • created an issue for " Baby shark lyrics generator" kata
    • 3 months ago

    How do I put in the special ... character in C?
    The compiler keeps trying to make the string literal an int array, but that doesn't match the function return type and then the zero high bytes in the wide string get interpreted as '\0's.

  • Custom User Avatar
    • cplir-c
    • created an issue for "Challenge Fun #10: Integer Square Root" kata
    • 3 months ago

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

  • Custom User Avatar
    • cplir-c
    • commented on "Simple Sum (with restrictions)" kata
    • 4 months ago

    A solution that needs space proportional to the input numbers' values won't be able to handle the random tests.

  • Custom User Avatar
    • cplir-c
    • commented on "Is he gonna survive?" haskell solution
    • 16 months ago

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

  • Custom User Avatar
    • cplir-c
    • commented on "Thinkful - Number Drills: Blue and red marbles" rust solution
    • 2 years ago
    >> 1.0 / 0.0
    inf
    >> 0.0 / 0.0
    NaN
    

    according to evcxr, which is a rust REPL

  • Custom User Avatar
    • cplir-c
    • commented on ""Return Negative" Rust Translation"
    • 2 years ago

    The translation it's forked from didn't pass its tests

  • Custom User Avatar
    • cplir-c
    • created a suggestion for "Large Factorials" kata
    • 2 years ago

    Haskell Translation

  • Custom User Avatar
    • cplir-c
    • commented on "Large Factorials" kata
    • 2 years ago

    An annoying but possible solution might be to make a custom int subclass that checks for oversized ints, pass in a RestrictedInt(10) along with n, and disallow integer literals

    You'd also have to ban the use of int, __class__, type, and Decimal.

    But that would make it harder than other languages...


    Edit: oops; it would still be possible to break the integer restriction using any default method that returns an int

    Too much work to replace all the builtins and ban all the importables that would return int...

  • Custom User Avatar
    • cplir-c
    • created an issue for "Large Factorials" kata
    • 2 years ago

    Java has no BigInteger prevention test at the moment;

    I made a fork to add one in: https://www.codewars.com/kumite/6519ffe580f7c47d2e82a74c?sel=6519ffe580f7c47d2e82a74c

  • Custom User Avatar
    • cplir-c
    • created a suggestion for "Flick Switch" kata
    • 2 years ago

    Rust Translation

  • Custom User Avatar
    • cplir-c
    • commented on "Ackermann function without recursion." kata
    • 2 years ago

    Is this resolved?
    I replaced the thrown exceptions with test.fail and the message except for the table one, but that one's caught an message'd in the table test.

  • Custom User Avatar
    • cplir-c
    • commented on "Hackermann" kata
    • 2 years ago

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

  • Custom User Avatar
    • cplir-c
    • created a suggestion for "Ackermann function without recursion." kata
    • 2 years ago

    Rust Translation
    https://www.codewars.com/kumite/65054d57bc47bc00316babd1

  • Custom User Avatar
    • cplir-c
    • commented on ""Ackermann function without recursion." Rust Translation"
    • 2 years ago

    Is this a reasonable translation? I used stack depth in bytes instead of counting frames.
    I copied the anti-table measures as well, but I don't understand what they're combatting.

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...