• 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
slimedog Avatar
Name:Unknown
Clan:Unknown
Member Since:May 2021
Last Seen:Mar 2025
Profiles:
Following:1
Followers:1
Allies:1
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (137)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • hobovsky
    • commented on "Sum the nums, sum the sums and sum the nums up to that sum" kata
    • 3 months ago

    Your goal is not to make your code shorter, but faster.

  • Custom User Avatar
    • Chrono79
    • resolved an issue on "Sum the nums, sum the sums and sum the nums up to that sum" kata
    • 3 months ago

    Your code being too slow is not a kata issue. Please read the posts below.

  • Custom User Avatar
    • Rayki
    • created an issue for "Sum the nums, sum the sums and sum the nums up to that sum" kata
    • 3 months ago

    Execution Timed Out (16000 ms)

    I don't know what to do to make this code shorter, I'm desperate
    I have three loops (for), 1 nested in another to calculate s(n), and a separate loop(for) to calculate z(s(n)). Is there any formula to fit everything into 1 loop(for)...?

  • Custom User Avatar
    • hobovsky
    • resolved an issue on "Sum the nums, sum the sums and sum the nums up to that sum" kata
    • 4 months ago

    Your solution uses imprecise operations which cause problems for large numbers. It is not a kata issue, your solution has a (small) bug. The "concise" approach is good, you just need to fix the precision issue.

  • Custom User Avatar
    • spinpwr
    • created an issue for "Sum the nums, sum the sums and sum the nums up to that sum" kata
    • 4 months ago

    Okay, so I have come up with multiple solutions which supposed to be mathematically correct, but test cases still fail.
    None of them are brut-force - all tests completes in 2.5 ms - still the numbers are off.
    Couple times by factors of 2, so some overflow error I guess. According to docs Python shouldn't have overflow errors as integers have no hard limit.

    I will add my code in answers so I don't have to spoiler the whole thing (:

  • Custom User Avatar
    • djkat
    • commented on "Sum the nums, sum the sums and sum the nums up to that sum" kata
    • 4 months ago

    Kinda crap. Test cases so cumbersome that the only way to solve the problem is to look for the explicit formula. No coding skill required.

  • Custom User Avatar
    • Tester_blck
    • commented on "Sum the nums, sum the sums and sum the nums up to that sum" kata
    • 9 months ago

    the code turned out very interesting

  • Custom User Avatar
    • Ahmedrt6
    • commented on "Sum the nums, sum the sums and sum the nums up to that sum" kata
    • 9 months ago

    yeah I totally agree

  • Custom User Avatar
    • monadius
    • resolved a suggestion on "Sum the nums, sum the sums and sum the nums up to that sum" kata
    • 9 months ago
  • Custom User Avatar
    • monadius
    • resolved a suggestion on "Sum the nums, sum the sums and sum the nums up to that sum" kata
    • 9 months ago

    Approved with a new reference solution.

  • Custom User Avatar
    • Tester_blck
    • commented on "Sum the nums, sum the sums and sum the nums up to that sum" kata
    • 9 months ago

    that's pretty fast by the standards of the universe

  • Custom User Avatar
    • Tester_blck
    • created a suggestion for "Sum the nums, sum the sums and sum the nums up to that sum" kata
    • 9 months ago

    Translate Dart

    check my solution

  • Custom User Avatar
    • ejini战神
    • resolved a question on "Sum the nums, sum the sums and sum the nums up to that sum" kata
    • 9 months ago

    It depends, if the kata is bumped up by a recent description edit or language update, translating it would reduce the time of waiting as it is more likely that someone will chime in and review it, but consider yourself lucky if it's within few months or so ^^

  • Custom User Avatar
    • Tester_blck
    • created a question for "Sum the nums, sum the sums and sum the nums up to that sum" kata
    • 9 months ago

    how long does it take to check a translation of a kata?

  • Custom User Avatar
    • Tester_blck
    • created a suggestion for "Sum the nums, sum the sums and sum the nums up to that sum" kata
    • 9 months ago

    Dart translate

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...