• 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
HackCommander Avatar
Name:Iván Santos Malpica
Clan:Unknown
Skills:mathematics, ethical hacking
Member Since:Jun 2020
Last Seen:May 2025
Profiles:
Following:8
Followers:10
Allies:8
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations
  • Replies (14)
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • ejini战神
    • resolved a question on "Total Primes" kata
    • 4 years ago

    Optimization / memoization required

  • Custom User Avatar
    • ejini战神
    • resolved a suggestion on "Number Zoo Patrol" kata
    • 4 years ago
  • Custom User Avatar
    • mr.zh6
    • commented on "Total Primes" kata
    • 5 years ago

    How do you know how many test you have gone through before time-out?

  • Custom User Avatar
    • FArekkusu
    • resolved an issue on "Return Two Highest Values in List" kata
    • 5 years ago

    Forbid the input modification.

  • Custom User Avatar
    • Chrono79
    • commented on "Return Two Highest Values in List" kata
    • 5 years ago

    Read this, post your code here following the directions there.

  • Custom User Avatar
    • Chrono79
    • commented on "Return Two Highest Values in List" kata
    • 5 years ago

    Have you removed the max value from the list somehow? If you did, then the list without that value is what the control function used to get the two max values and that's why it expects a different result.

  • Custom User Avatar
    • Chrono79
    • commented on "Return Two Highest Values in List" kata
    • 5 years ago

    Did you mutate the list?

  • Custom User Avatar
    • JohanWiltink
    • resolved a question on "Next polydivisible number" kata
    • 5 years ago

    Well, now you know why you're getting a timeout then. Make it faster.

    There are 100 random tests.

  • Custom User Avatar
    • JohanWiltink
    • commented on "Next polydivisible number" kata
    • 5 years ago

    Print the input?

    Last one printed failed ..

  • Custom User Avatar
    • G_kuldeep
    • commented on "Next polydivisible number" kata
    • 5 years ago

    i just checked and everything works fine

    i think problem might be with infinite recursion (if you are using recursion) and print every thing to keep an eye on what is going on..

    edit: if that doesn't work then use print(whatever, flush=True)

  • Custom User Avatar
    • JohanWiltink
    • commented on "Next polydivisible number" kata
    • 5 years ago

    Which language?

  • Custom User Avatar
    • JorgeVS
    • commented on "How many days are we represented in a foreign country?" kata
    • 5 years ago

    Please be aware of the meaning of the suggestion flag .

    From https://github.com/codewars/codewars.com/wiki/Kata-Discourse#suggestions

    Suggestions
    
    A suggestion is something that could be improved but isn't required to be. During the beta process suggestions are less common, though still relevant.
    Please see note above about the post-beta process.
    Use suggestions when the kata could be improved but there isn't a critical issue preventing warriors from completing it.
    
    
  • Custom User Avatar
    • JorgeVS
    • commented on "How many days are we represented in a foreign country?" kata
    • 5 years ago

    Don't worry MathCommander, I just think you gave away too much. A small hint in the right direction is OK, but your correct and thorough explanation is the part that has to be solved by the users themselves. They must read the instructions and analyse the results to debug their program if something is wrong.

    Enjoy your time @codewars!

  • Custom User Avatar
    • JorgeVS
    • resolved a suggestion on "How many days are we represented in a foreign country?" kata
    • 5 years ago

    @MathCommander,

    Your help is appreciated, but please don't give away the solution. I flaggged your comment as a spoiler.

    Cheers

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...