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.
Damn, I rushed this code, but good job using switch cases !!!
This comment is hidden because it contains spoiler information about the solution
Producing right answer for some cases and wrong answer for other cases doesn't seem concerning to me. That's normal for incorrect solutions.
well, the tests are pointing out some scenarios where wrong answer is being produced. did you test those?
I have tested my code with all possible scenarios and consistently received the expected results. My concern is that while the code runs perfectly in my IDE, it fails upon submission. I’m curious if anyone else has experienced a similar issue. Hope that clears it up for you :)
You're phrasing this a bit oddly - "the same problem" - yeah, other people have written incorrect solutions and have failed tests. But knowing whether other people have failed tests, that's not useful information, so you probably mean something other than what you said?
Java: I have done this problem on an IDE and it runs perfectly. I've inputed all different scenarios, and I still end up getting the expected result. My test over here passed, but when I try to attempt, I am getting an error. Is anyone getting the same problem by any chance?