• 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
WrightCode Avatar
Name:Unknown
Clan:Unknown
Member Since:Jul 2016
Last Seen:Aug 2023
Profiles:
Following:3
Followers:1
Allies:1
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (47)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • KayleighWasTaken
    • created an issue for "Farthest Distance" kata
    • 9 months ago

    Reraising this as an actual issue.

  • Custom User Avatar
    • gustin33
    • commented on "Farthest Distance" kata
    • 5 years ago

    I have the same issue, dont know why it is happening

  • Custom User Avatar
    • prab2112
    • commented on "Farthest Distance" kata
    • 6 years ago

    Input is coordinates of all points. You just have to calculate two points which have max distance between them. you have to output the max distance you get.

  • Custom User Avatar
    • Steven Pavlovskii
    • commented on "Farthest Distance" kata
    • 6 years ago

    I don't understand this Kata, who can explain me please?

  • Custom User Avatar
    • bala92x
    • commented on "Farthest Distance" kata
    • 7 years ago

    The problem was that in the examle code you used farthestDistance, but the tests expected furthestDistance instead. This is misleading a bit.

  • Custom User Avatar
    • WrightCode
    • commented on "Farthest Distance" kata
    • 7 years ago

    You're right. Is it worth correcting in tests because if I do it then invalidates all previous answers (some really clever ones) ?

  • Custom User Avatar
    • bala92x
    • commented on "Farthest Distance" kata
    • 7 years ago

    I think it has been not corrected in the tests.

  • Custom User Avatar
    • WrightCode
    • commented on "Farthest Distance" kata
    • 7 years ago

    Thank you. Corrected!

  • Custom User Avatar
    • justinddaniel
    • commented on "Furthest Distance" kata
    • 7 years ago

    Great Kata! Grammar and spelling Nazi that I am, though, it should be "Farthest Distance" not "Furthest Distance" since we are referring to literal (mathematical), not figurative distance.

  • Custom User Avatar
    • clcraig
    • commented on "Furthest Distance" kata
    • 7 years ago

    Eg. https://www.codewars.com/kata/simple-fun-number-22-is-smooth/cpp

    I'll wait a couple days before plugging the hole and notifying the author. ;-)

  • Custom User Avatar
    • JohanWiltink
    • commented on "Furthest Distance" kata
    • 7 years ago

    Absence of evidence is not evidence of absence.

    Have you tried to create tests where the reference solution would be accessible?

  • Custom User Avatar
    • FArekkusu
    • commented on "Furthest Distance" kata
    • 7 years ago

    Idk what you're talking about. I've tried accessing the reference solution on purpose a few times in C++ but it said "bla-bla-bla is not declared" each time.

  • Custom User Avatar
    • clcraig
    • commented on "Furthest Distance" kata
    • 7 years ago

    @FArekkusu, @JohanWiltink, whoops! I misread who responded. Sorry, Johan. :-)

  • Custom User Avatar
    • clcraig
    • commented on "Furthest Distance" kata
    • 7 years ago

    @JohanWiltink, I beg to differ. If a function is not declared static, then it is accessible from any module within that application. To hide it within the test module it must be declared static, localized within a function as a lambda, or declared as a method within a class/struct. If you include it within the Describe block then it's a method, but if you define it outside that block sans static then it's accessible from the user's code. I've been able to call the reference solution in a number of C/C++/NASM katas because of this loophole. I won't give details here, but it is something to keep in mind when you're writing katas and translations.

  • Custom User Avatar
    • FArekkusu
    • commented on "Furthest Distance" kata
    • 7 years ago

    The functions in C++ are inaccessible as well.

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...