• 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
rufustyle Avatar
Name:David Sesinando
Clan:TI35
Member Since:Mar 2024
Last Seen:Jul 2024
Profiles:
Following:2
Followers:2
Allies:2
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (3)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • NunoOliveira
    • resolved an issue on "Sum of Digits / Digital Root" kata
    • 15 months ago

    I'm writing in C++, and I can't pass the check, although everything works fine in the console, as I understand it, it's all in main(), please help me solve this problem

    See https://docs.codewars.com/training/training-example#writing-a-solution.

    Not a kata issue. See https://docs.codewars.com/training/troubleshooting#post-discourse.

  • Custom User Avatar
    • Chrono79
    • resolved a suggestion on "Sum of Digits / Digital Root" kata
    • 15 months ago

    Why are you shuffling the array elements? Your code has an infinite loop and that's why it doesn't pass the tests, even the smallest ones where the first sum is greater than 10.

    C# Completions 16065

    9 + 3 is greater than 10 and 3 + 9 is exactly the same, addition is commutative so I don't know what you were trying to achieve with the shuffling. Improve your code, it is not correct.

  • Custom User Avatar
    • rufustyle
    • created a suggestion for "Sum of Digits / Digital Root" kata
    • 15 months ago

    Execution Timed Out in C#
    put smaller numbers on attempt because my solution is correct

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...