• 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 (109)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • trashy_incel
    • created an issue for " Baby shark lyrics generator" kata
    • 2 months ago

    C:

    • the lyrics contain a non-ASCII character ('…') whose encoding is not specified. It should be mentioned that the expected encoding is UTF-8;
    • the assertion message is wrong if the code size is exactly 300, as reported there

    both fixed here

  • Custom User Avatar
    • trashy_incel
    • commented on " Baby shark lyrics generator" kata
    • 2 months ago

    there is still an issue here. because the lyrics include this single non-ASCII character, the initial code in C should specify that the expected output encoding is UTF-8. i did it in this fork, pending approval.

  • Custom User Avatar
    • cplir-c
    • resolved an issue on " Baby shark lyrics generator" kata
    • 2 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
    • Chrono79
    • commented on " Baby shark lyrics generator" kata
    • 2 months ago

    Can't you copy/paste it from the description?

  • 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
    • 3 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
    • trashy_incel
    • resolved an issue on "N queens problem (with no mandatory queen position)" kata
    • 13 months ago

    fixed

  • Custom User Avatar
    • JohanWiltink
    • resolved a suggestion on "Large Factorials" kata
    • 13 months ago

    Rejected.

    Too easily cheatable, and use of Random instead of QuickCheck.

  • Custom User Avatar
    • JohanWiltink
    • commented on ""Large Factorials" Haskell Translation"
    • 13 months ago

    Cheatable with

    factorial n = show $ product [1..n'] where
      (a,b) = decodeFloat $ fromIntegral n
      n' = a `div` 2 ^ negate b
    

    I don't know exactly how you'd prevent that; that's your job.

  • Custom User Avatar
    • Chrono79
    • commented on "Is he gonna survive?" haskell solution
    • 15 months ago

    Use spoiler flag next time please. Your post was visible in the homepage.

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

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

  • Custom User Avatar
    • VDSurChauffe
    • commented on "Is he gonna survive?" haskell solution
    • 15 months ago

    New to Haskell, how does this work?

  • 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
    • Discordanian
    • commented on "Thinkful - Number Drills: Blue and red marbles" rust solution
    • 2 years ago

    What happens here if total is 0?

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...