Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
simple absolute value, multiplication and subtraction are not readable? lolz
Search in the youtube. There are several funny things about this one.
I have thought for hours about this. On several occasions.
Can you give me some hint what trick might be hidden there?
This is not best practice at all, it's not readable what so ever. This should not be done in a professional environment.
Congrats!
7 January 2024 (180 lines)
This kata is great. I have devoted for this challenge about full 20 days.
My time is 10644.66ms. I know that it is too much, but .... so many attempts were done during these days.
what if the contents of the list have many elements? like 10 or 20?
not the best practices.
👍
its important to prepare for 4th dimensional objects incase physics changes in the future
Very clever solution.
Input for failing test cases is not
"+"
. The error means that at some point, your oslution attempts to parse the string"+"
as a number.Your solution crashes for following inputs:
All stacktraces seem to originate from
MathEvaluator.getNumberOnTheRight(MathEvaluator.java:91)
, so you need to search for error in your solution somewhere around there.Hello.
I use the Java language.
The tests pass, but when I try to send the code, writes: "For input string:"+"." Then follows Stacktrace, in which: "Java.lang.numberformatexception: for input string:"+". Next, Stacktrace ...".
My calculator returns 0.0 with a transferred line "+". I don’t understand what needs to be returned to go these tests.
I think that the exception should be returned to such a line: "+". Since this is not a mathematical expression. I think the decision is the correctness of the exclusion. But I can’t fully understand in which form to return the exception.
Who can direct to the right thought, please write?
17 August 2023
Python
Not hard. Overestimated. It took me three evenings.
11 August 2023. Python. Three weeks. Thinking, drawing and reading.
1000 - 77.03ms
All tests 7708.20ms - 9314.85ms
As I know, at first, possible errors, non-standard situations are written in the if block.
Loading more items...