• 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
fire74 Avatar
Name:Unknown
Clan:Unknown
Member Since:Nov 2018
Last Seen:Jan 2024
Profiles:
    Following:0
    Followers:1
    Allies:0
    View Profile Badges
    • Stats
    • Kata
    • Collections
    • Kumite
    • Social
    • Discourse
    • Conversations (6)
    • Replies
    • Authored
    • Needs Resolution
    • Custom User Avatar
      • smonf
      • commented on "How many numbers III?" kata
      • 6 years ago

      No, they mean that doing nothing but returning an empty list will time out. Which I've observed as well :/

    • Custom User Avatar
      • ips-james
      • commented on "How many numbers III?" kata
      • 6 years ago

      Are you generating all possible numbers and then checking each one to see if the digits are increasing or not?
      I did that first, and it works for a low number of digits, but takes expoentially longer with larger numbers of digits.
      There's a better way of approaching the problem.

    • Custom User Avatar
      • fire74
      • commented on "How many numbers III?" kata
      • 6 years ago

      For Python 2.7:

      The code:
      return []

      Output:
      Passed: 17 Failed: 75 Exit Code: 1

      STDERR
      Execution Timed Out (12000 ms)

      It Kata is impossible.

    • Custom User Avatar
      • user8436785
      • commented on "Smallest possible sum " kata
      • 6 years ago

      Try again, it should be fixed now.

    • Custom User Avatar
      • rowcased
      • created a suggestion for "Smallest possible sum " kata
      • 6 years ago

      C translation kumited

    • Custom User Avatar
      • fire74
      • commented on "Smallest possible sum " kata
      • 6 years ago

      This is wrong kata. My solution on Python3 passes 92-189 tests.
      Code:
      def solution (a):
      return 3
      get "STDERR: Execution Timed Out (12000 ms)"

      My solution on Python 2 passes 209 tests and get "STDERR: Execution Timed Out (12000 ms)"

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

    Confirm

    • Cancel
    • Confirm

    Collect: undefined

    Loading collection data...