• 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
pickwik Avatar
Name:Unknown
Clan:BSUIR
Member Since:Dec 2015
Last Seen:Jul 2016
Profiles:
Following:804
Followers:802
Allies:800
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (7)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • pickwik
    • resolved an issue on "Find the First Number in Having a Certain Number of Divisors I" kata
    • 10 years ago

    @g964, thx, so I misunderstand the task. This is not a issue;

  • Custom User Avatar
    • raulbc777
    • resolved an issue on "Find the First Number in Having a Certain Number of Divisors I" kata
    • 10 years ago

    It's solved. Thanks bkaes for your observation.

  • Custom User Avatar
    • g964
    • commented on "Find the First Number in Having a Certain Number of Divisors I" kata
    • 10 years ago

    Corrected! You can mark the issue as resolved.

  • Custom User Avatar
    • g964
    • commented on "Find the First Number in Having a Certain Number of Divisors I" kata
    • 10 years ago

    @pickwik Could you post what the tests answer between 3 backticks? Moreover you can be sure at 99% that the tests are not wrong...

    outputs the smallest number having an amount of divisors equals to num_div

    24 has 8 divisors and you are asked for 7 divisors, so your answer is wrong!-(

  • Custom User Avatar
    • pickwik
    • commented on "Find the First Number in Having a Certain Number of Divisors I" kata
    • 10 years ago

    @raulbc777, java
    and there some troubles with text displaying, so there are something, what was not shown in first comment:
    for example: on the row MinNbDiv.findMinNum(7) test returns "expected: 64 but was: 24"

  • Custom User Avatar
    • raulbc777
    • commented on "Find the First Number in Having a Certain Number of Divisors I" kata
    • 10 years ago

    hi @pickwik, Which programming language please?

  • Custom User Avatar
    • pickwik
    • created an issue for "Find the First Number in Having a Certain Number of Divisors I" kata
    • 10 years ago

    I wrote method, what returns first int value, what have assigned count of divisions(Is this correct task?)
    but your tests does something wrong - for example: on the row MinNbDiv.findMinNum(7) test returns "expected:<64> but was:<24>"
    we can count it now: 24 divisions are: 1,2,3,4,6,8,12,24 - 8 (8>7 so it must be correct answer)
    there is more issues like this, cause if I'll add this to my code: "if(num == 7)return 64;" to escape this error, i'll get some more from random test(for example "expected:<3600> but was:<2520>")
    I think there are some errors in this kata tests;

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...