thx bro. I appriciate it
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
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?
how familiar is it to me..
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..
:/ It's written in the description, tho... :/
i can't imagine how can i check this input "int[][]{}". i passed through 4/5 tests, pls help me
read the description? ;p
shouldHandleNullOrEmptyIntervals Test Failed What should I do? (java)
thx a lot for a hint
Loading collection data...
thx bro. I appriciate it
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
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?
how familiar is it to me..
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..
:/ It's written in the description, tho... :/
i can't imagine how can i check this input "int[][]{}".
i passed through 4/5 tests, pls help me
read the description? ;p
shouldHandleNullOrEmptyIntervals
Test Failed
What should I do?
(java)
thx a lot for a hint