• 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
DonutMaster Avatar
Name:Unknown
Clan:Self Taught
Member Since:Jun 2023
Last Seen:Jun 2024
Profiles:
    Following:58
    Followers:58
    Allies:58
    View Profile Badges
    • Stats
    • Kata
    • Collections
    • Kumite
    • Social
    • Discourse
    • Conversations (8)
    • Replies
    • Authored
    • Needs Resolution
    • Custom User Avatar
      • eurydice5717
      • commented on "Digest word into letters (C++ Translation)" kumite
      • 2 years ago

      :-) note the fmt::join up there is IMHO canonical in the 21rst century..
      Know your STL and get rid of those for loops.

    • Custom User Avatar
      • televisionia
      • commented on "Digest word into letters (C++ Translation)" kumite
      • 2 years ago

      Finally, the universal C++ solution after 16 months of the original kumite. (15 months since my C++ translation.)

    • Custom User Avatar
      • mauro-1
      • created a suggestion for "Decode the Password" kata
      • 2 years ago
      • default solution should inslude only <string>
      • add PUZZLE tag
    • Custom User Avatar
      • rowcased
      • created an issue for "Decode the Password" kata
      • 2 years ago

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

    • Custom User Avatar
      • eurydice5717
      • commented on "Add numbers of an vector" kumite
      • 2 years ago

      Yop, waiting for C++20 full compatible compiler in Codewars (C++17 supported), rangev3 is supported as external library .. See github repository "using rangeV3 in codewars".
      A bit verbose in the header files, but more convenient...
      Was tired to type "c.begin(),c.end()"; and the ::views can be really nice on some algos.

    • Custom User Avatar
      • Fxh
      • commented on "Add numbers of an vector" kumite
      • 2 years ago

      Ranges library has first been introduced in c++20.

    • Custom User Avatar
      • Fxh
      • commented on "Add numbers of an vector" kumite
      • 2 years ago

      minor correction: use const reference, to make sure you are not changing anything on the data structure.

    • Custom User Avatar
      • anmol111pal
      • commented on "Add numbers of an vector" kumite
      • 2 years ago

      Whenever passing vectors, or any STL data structure to a function, always use references.

      Use Pass by reference instead of Pass by Value.

      This would reduce the time in copying your vector.

    • © 2025 Codewars
    • About
    • API
    • Blog
    • Privacy
    • Terms
    • Code of Conduct
    • Contact

    Confirm

    • Cancel
    • Confirm

    Collect: undefined

    Loading collection data...