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.
ikr
This comment is hidden because it contains spoiler information about the solution
Nice! I actually did the exact same thing for traversing the AST. I guess my slow time came from elswere or Java just being slower than C.
yes
115,370 completions say otherwise. Can you elaborate which test case you think is wrong?
You cannot go from 75 to 77
you can only move down a row or down a row and right one index
Java version expects you to throw an error for unclean termination AND output result?? How is that even possible?
Expected exception for unclean termination caught: java.lang.IllegalArgumentException <-- it expected me to throw a exception, which I did
unclean termination expected:1 but was: null <-- and then still wanted me to return 1?
It would be great if some example InputStreams could be provided in the sample tests
It would also be great if it could be clarified that A) Output stream is NOT OPTIONAL B) Example Tests dont pass a Output stream as a parameter but Full test suite does and C) the outputstream you are given is always null
FIRST 1KYU KATA GG
Also just curious how fast other peoples solutions were, even though this isnt a performance kata, my code generated horribly inefficient instructions imo.
Time: 2534 ms
This comment is hidden because it contains spoiler information about the solution
But then people hardcode
asdasdas
Java:
.getClassLoader, .loadClass, .getMethod, .invoke, .getConstructor, and .newInstance should be added to list of disallowed strings in text. Not a single valid solution uses them, and all the cheat solutions that I can understand are just using BigInteger.sqrt DO use them.
Joined date has nothing to do with skill, or ranking. For example I joined in March and am 2kyu, because I have been doing Java for 3 years. Im sure there is people who joined after me and are 1kyu, and im sure there is other people who joined 5 years ago and are still 8 kyu
Print the input and copy paste that as well as the expected answer here. Not sure what your trying to say, were you able to pass it?
Loading more items...