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.
I have no idea what I'm doing. I feel pretty stupid that I can't solve a 7kyu. What is wrong with me that I don't understand this? Any ideas?
I'm failing two of the basic tests, the ones for f(f(5)) and f(f(10)). Any advice?
This comment is hidden because it contains spoiler information about the solution
How do you even create the characters?
it's weird because it's the same number of digits, but the answer is wrong. I'm not sure how that happens. That seems like a bit of an issue. Of course, my instructor told me they wrote javascript in a few weeks or something, so maybe I'm expecting too much refinement.
This comment is hidden because it contains spoiler information about the solution
I'm using C#. I'm not understanding this. It says it's giving me the number of matches I have. I assume this is the number of indexes of the array that I create that match the indexes of the answer array, is that right? So, if the code array is {2, 4, 6, 9} and I return an array {2, 3, 5, 7} it will give 1 as the answer? So I then have to figure out which index matched and then change the others?
I must be too stupid to do this then
Anyone have a hint as to why the basic tests are passing but the full suite is timing out? Is there something I should be looking for? My code is supposed to look for the last index of an opening parentheses, then move forward until it finds the first closing parentheses, and remove those and what's in between. Is there a better way to code this? I've tried looking online for something that would identify substrings starting and ending with a parentheses, but I know some of the tests might complicate that with things like ((this) and) (this (so)) I'm not sure what to do.
I tried changing the doubles to decimals instead, still passing the basic, but not full suite
Does anyone have a quick suggestion as to why the basic tests are passing, but the full tests aren't? I was having trouble with the fact that the inputs are ints and doubles, so I converted the ints to doubles to try to have consistency.
I'm wondering if this line is the issue "all amounts f0..fn-1, c0..cn-1 are truncated by the bank to their integral part." Am I missing something here? I can post my code if that's helpful.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Ok, got the exception working, but now it's failing the random tests, my answers are 1 too low.
This comment is hidden because it contains spoiler information about the solution
Loading more items...