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.
lol what?
No problem <3
You should check out the video!
I believe in you...
Watch the video.
This is literally at the crux of every "hard" programming problem in the world, and is something I myself have struggled with, but at a certain point you just gotta google it m8.
Ehh, I guess people didn't really like it? It is pretty trivial to do if you know about a certain java keyword and don't mind copy-pasting a bunch of very similar code, but if you go with Reflection then it's super-duper advanced, so that could be why... if this had a sister kata with a character limit that was >3 kyu then that'd probably be okay, but I've always hated kata where it's like "yeah if you don't have a CS PHD and don't wanna cheat your butt off then you ain't doing this one buster."
Oh lol that's what I did
Really do not care.
I did not ask.
Did changing it to BigInteger fix the issue?
I am disgusted by the limitations of primitive data types. BigInteger seems like it should work okay, though.
Yes, the kata is based off that one, but I wanted to make one that tests performance. In other words, you need to figure out an O(1) solution.
The point is to look at the test cases and figure it out.
Yup, that's the point. Look at the example test cases.
Hey, I really don't understand what you mean... when I looked at the test cases, it looks like mine outputs:
public double getPrice()
so I'm not sure where you're getting public double gest) from... additionally, for the tabs and newlines, there should be one more tab than the last line if the last line was:
{
and one less tab if the line is:
}
and newlines should be put between method signatures, lines of code ending with semicolons and lines containing { or }
Happy coding!
Loading more items...