• 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
Unsleeping Avatar
Name:Alexander Mandrov
Clan:Unknown
Member Since:Jul 2019
Last Seen:Sep 2024
Profiles:
Following:19
Followers:204
Allies:16
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (10)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • Tonynguyen137
    • commented on "Square(n) Sum" java solution
    • 4 years ago

    thx bro. I appriciate it

  • Custom User Avatar
    • hobovsky
    • commented on "Square(n) Sum" java solution
    • 4 years ago

    https://stackoverflow.com/questions/2696812/varying-behavior-for-possible-loss-of-precision
    https://stackoverflow.com/questions/8710619/why-dont-javas-compound-assignment-operators-require-casting

  • Custom User Avatar
    • Tonynguyen137
    • commented on "Square(n) Sum" java solution
    • 4 years ago

    this is strange. When I write this code:

    int sum = Math.pow(1,2);

    I will get an error message which says: "Cannot convert from double to int".

    But why does your notation ->> sum += Math.pow(a ,b); works?

    if you rewrite this to -> sum = sum + Math.pow(); <<- it wont work!

    Could you please explain?

  • Custom User Avatar
    • Unsleeping
    • commented on "Sums of Parts" kata
    • 5 years ago

    how familiar is it to me..

  • Custom User Avatar
    • Unsleeping
    • commented on "Sum of Intervals" kata
    • 6 years ago

    also i have a problem with a random tests.
    i got it that i should return 0 in this cases but my "if-expression" leads me to fail
    my english is so weak..

  • Custom User Avatar
    • Blind4Basics
    • commented on "Sum of Intervals" kata
    • 6 years ago

    :/ It's written in the description, tho... :/

  • Custom User Avatar
    • Unsleeping
    • commented on "Sum of Intervals" kata
    • 6 years ago

    i can't imagine how can i check this input "int[][]{}".
    i passed through 4/5 tests, pls help me

  • Custom User Avatar
    • Blind4Basics
    • resolved a question on "Sum of Intervals" kata
    • 6 years ago

    read the description? ;p

  • Custom User Avatar
    • Unsleeping
    • created a question for "Sum of Intervals" kata
    • 6 years ago

    shouldHandleNullOrEmptyIntervals
    Test Failed
    What should I do?
    (java)

  • Custom User Avatar
    • Unsleeping
    • commented on "Gap in Primes" kata
    • 6 years ago

    thx a lot for a hint

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...