• 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
sv90 Avatar
Name:Unknown
Clan:Unknown
Member Since:Nov 2014
Last Seen:May 2025
Profiles:
    Following:2
    Followers:12
    Allies:1
    View Profile Badges
    • Stats
    • Kata
    • Collections
    • Kumite
    • Social
    • Discourse
    • Conversations (214)
    • Replies
    • Authored
    • Needs Resolution
    • Custom User Avatar
      • Ooming
      • commented on "Sum of odd numbers" c solution
      • 15 days ago

      While this is clever, I wouldn't consider it a best practice. It extends the range of allowed inputs to values whose cubes exceed the range that can be represented by the output type

    • Custom User Avatar
      • brodiemark
      • commented on "Birthday present" kata
      • 3 months ago

      Quite similar to Trip Cost

    • Custom User Avatar
      • Cooooop
      • commented on "Simple multiplication" cpp solution
      • 3 months ago

      To expand on this, any non zero value returns true, any zero returns false. This means you never need to check if something == 0 in your if statements, you can infer that if it is zero it will return false, and structure the program around that.

    • Custom User Avatar
      • o2001
      • commented on "Tuple sum" kata
      • 7 months ago

      Here is the list of all current C++ metaprogramming kata. Most of them deal with general TMP and not restricted to tuples (although you can use tuples as a means to solve them). The only tuple-heavy one is this beta. It dives into tuples more than this task.

    • Custom User Avatar
      • o2001
      • created a suggestion for "Tuple sum" kata
      • 7 months ago

      ... that are numbers

      This is not enough imo. The description should be more explicit about what it allows (or disallows). For example, char is explicitly excluded, but most solutions (including mine) also count any non-char integral type like bool and char32_t, which aren't tested. Moreover, if an answer only hardcodes double and int, are they not excluding other valid numeral types like std::size_t or long? I'm not saying these types should be tested at all - but the description should upfront be clear that it is only testing int and double. It signals that the solver should not strive for total correctness, and should instead make assumptions. Sounds like overthinking, but solvers can't see the submission tests and so can't tell what assumptions are being implicitly made.

    • Custom User Avatar
      • o2001
      • created a suggestion for "Variadic Parameter Pack Count" kata
      • 7 months ago

      Regular sizeof should be exempt from the restrictions. You can use it as a part of a valid answer. Only sizeof... should be disabled.

    • Custom User Avatar
      • Sanjai Kumar
      • commented on "Counting sheep..." haskell solution
      • 11 months ago

      Can someone please explain me this piece of code? what is id?

    • Custom User Avatar
      • geoffp
      • commented on "Will you make it?" c solution
      • 12 months ago

      That's true, but there is no better way to do it, short of resorting to a higher-precision floating-point type.

    • Custom User Avatar
      • Stalkie666
      • commented on "Will you make it?" c solution
      • 12 months ago

      You forgot for double inprecision, basicly floating-point arithmetic, not a good idea.

    • Custom User Avatar
      • PialaChaiImba
      • commented on "Simple multiplication" cpp solution
      • 15 months ago

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

    • Custom User Avatar
      • senior_kapitoshka
      • created a question for "Tuple sum" kata
      • 15 months ago

      in test example 3.14 and 42 are equal to 45.14, this is clear, but i wonder where did 0.001 come from?

    • Custom User Avatar
      • FartDraft
      • created a question for "Tuple sum" kata
      • 16 months ago

      Awesome Kata! C++ tuples are insane to work with! Can you suggest me more Katas similar to yours?

    • Custom User Avatar
      • hbrezak
      • commented on "Counting Duplicates" cpp solution
      • 2 years ago

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

    • Custom User Avatar
      • Voile
      • created an issue for "Transform view" kata
      • 2 years ago

      https://www.codewars.com/kata/reviews/5883785e512b0330ff0003c9/groups/64f00dae18408b0001497ac8

    • Custom User Avatar
      • Voile
      • created an issue for "Filter View" kata
      • 2 years ago

      https://www.codewars.com/kata/reviews/58847cf4a3dd74693e000114/groups/64f00d7318408b0001497abf

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

    Confirm

    • Cancel
    • Confirm

    Collect: undefined

    Loading collection data...