• 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
OmarC Avatar
Name:Omar Chatila
Clan:BROCKHAUS AG
Member Since:Sep 2019
Last Seen:Dec 2024
Profiles:
    Following:20
    Followers:20
    Allies:20
    View Profile Badges
    • Stats
    • Kata
    • Collections
    • Kumite
    • Social
    • Discourse
    • Conversations (23)
    • Replies
    • Authored
    • Needs Resolution
    • Custom User Avatar
      • bcblevins
      • commented on "How good are you really?" java solution
      • 6 months ago

      As far as I can tell, there is no reason to ensure long division is done, since the actual average value isn't returned. You just need to know if your score is higher than the average and since all of the scores are integers, there is no case where the decimal would change whether you scored higher than the average or not.

    • Custom User Avatar
      • Diduknow
      • commented on "How good are you really?" java solution
      • 2 years ago

      First i was thinking, the average was not good, then i understand.

      Thanks , nice code

    • Custom User Avatar
      • ADMINISTRAT0R
      • commented on "Convert a String to a Number!" java solution
      • 4 years ago

      That's me T_T

    • Custom User Avatar
      • OmarC
      • commented on "Reverse words" kata
      • 4 years ago

      I think this one should rather be 6 kyu

    • Custom User Avatar
      • visph
      • commented on "Puzzle Fighter" kata
      • 5 years ago

      7 months later, you still didn't solve it ^^

      ... Anyway, I really enjoyed too this kata, but conversely, I would rate it 1 Dan though ;P

    • Custom User Avatar
      • OmarC
      • commented on "Moving Zeros To The End" kata
      • 5 years ago

      You're joking, right?

    • Custom User Avatar
      • OmarC
      • commented on "How good are you really?" java solution
      • 5 years ago

      When calculating average values you need to make sure at least one of the divisors ist double/float because Integer/Long divisions result in integer/long values.

    • Custom User Avatar
      • rowcased
      • commented on "How good are you really?" java solution
      • 5 years ago

      I would have thought the long would coerce the int . . .

    • Custom User Avatar
      • andipyk
      • commented on "How good are you really?" java solution
      • 5 years ago

      Is the data type wrong?

    • Custom User Avatar
      • Bandit254
      • commented on "Find the unique number" kata
      • 5 years ago

      I might agree if there wasn't a time limit. Still trying to get my solution more efficient, and it's timing out at ~2500ms. When I time my solution locally, I have to use an array of 100 million numbers before I get to that kind of run time. So I know my solution works, just that whatever test case they're throwing at me is bigger than 100 million. And for a beginning programmer such as myself, knowing all the optimization tricks is not a reasonable expectation. So I think this is good at 6kyu.

    • Custom User Avatar
      • OmarC
      • commented on "Highest Scoring Word" java solution
      • 5 years ago

      just google java 8 streams

    • Custom User Avatar
      • OmarC
      • commented on "Convert a Number to a String!" java solution
      • 5 years ago

      using toString() method for System.out.println() is bad practice because toString method is automatically invoced by println

    • Custom User Avatar
      • OmarC
      • commented on "Find the unique number" kata
      • 5 years ago

      this kata ist way too overrated... should be kata 8 or kata 7 at most

    • Custom User Avatar
      • OmarC
      • commented on "How good are you really?" java solution
      • 5 years ago

      you are lucky this works in this case because you calculated the average wrong. (Integer / Long division)

    • Custom User Avatar
      • OmarC
      • commented on "Playing with cubes I" kata
      • 6 years ago

      shut up giabanga you level 6 peasant

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

    Confirm

    • Cancel
    • Confirm

    Collect: undefined

    Loading collection data...