• 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
jekt Avatar
Name:Tristan
Clan:Dailymotion
Member Since:Dec 2014
Last Seen:Apr 2018
Profiles:
Following:12
Followers:13
Allies:12
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (78)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • ejini战神
    • resolved an issue on "254 shades of grey" kata
    • 5 months ago

    Fixed in latest fork and some time ago respectively

  • Custom User Avatar
    • ejini战神
    • resolved a suggestion on "254 shades of grey" kata
    • 5 months ago

    Done in latest fork

  • Custom User Avatar
    • trashy_incel
    • resolved an issue on "254 shades of grey" kata
    • 10 months ago

    fixed + upgraded to JUnit 5

  • Custom User Avatar
    • truanthh
    • commented on "254 shades of grey" kata
    • 10 months ago

    great kata, thanks! learned something new :)

  • Custom User Avatar
    • ejini战神
    • resolved a question on "254 shades of grey" kata
    • 2 years ago

    OP solved it, closing

  • Custom User Avatar
    • laurelis24
    • commented on "254 shades of grey" kata
    • 2 years ago

    Ugliest code i ever written... xD

  • Custom User Avatar
    • Gpiph
    • commented on "254 shades of grey" kata
    • 4 years ago

    Ok, I see, easy fix and I passed. Thanks.

  • Custom User Avatar
    • trashy_incel
    • commented on "254 shades of grey" kata
    • 4 years ago

    i'm sorry, this is my fault; the assertion message was incorrect when n > 254, and the memory was not reset at every test, which caused confusing assertions

    I fixed that and republished. Your code is still wrong though, for the reason I said.

  • Custom User Avatar
    • Gpiph
    • commented on "254 shades of grey" kata
    • 4 years ago

    That doesn't seem to be the issue, as the error appears for n = 254: for n = 254, at index 232, expected: "#e9e9e9" but got: ""
    the index where it doesn't find any entry seems to change everytime I run it, attempting again, I get for n = 254, at index 193, expected: "#c2c2c2" but got: "".

  • Custom User Avatar
    • trashy_incel
    • commented on "254 shades of grey" kata
    • 4 years ago

    you have to generate shades even when n is larger than 254, it's just that you stop at 254

  • Custom User Avatar
    • Gpiph
    • commented on "254 shades of grey" kata
    • 4 years ago

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar
    • akar-0
    • resolved a suggestion on "254 shades of grey" kata
    • 4 years ago

    Thanks :)

  • Custom User Avatar
    • trashy_incel
    • created a suggestion for "254 shades of grey" kata
    • 4 years ago

    C translation (author gone)

  • Custom User Avatar
    • LachlanIsDumb
    • commented on "254 shades of grey" kata
    • 4 years ago

    My code no workey, fixey the code plz and thank <3

  • Custom User Avatar
    • farhanaditya
    • commented on "254 shades of grey" kata
    • 4 years ago

    Sadly, that's not the case. I would need 10.000 honors to do that :(

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...