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.
ok
This is sphagetti, please explain the essence of the algorithm if you want help.
(With spoiler flag ofcourse).
??
This comment is hidden because it contains spoiler information about the solution
ohh thanks it worked...i thought it was "a" through "z"...
Modified.
The description says:
"... which given a string will output the error rate of the printer as a string ..."
The problem is to return the error rate, not to output it. I think "output" should be "return" in the above sentence.
This has caused confusion for at least one person working on the problem (Clonewarrior).
Actually both of you are correct - the problem description is wrong:
"which given a string will output the error rate of the printer as a string"
I simply assumed the problem meant returning the string, but the description says "output".
Try typing this into a Python interpreter:
('a' or 'b' or 'c')
Hopefully the result isn't what you expect. I think your "if" statement is the problem.
This comment is hidden because it contains spoiler information about the solution
Same problem happens with C++
printing did not work...it says expected:(true) but was:(false)
That won't be of much help with arrays, try google with "printing an array in java"
System.out.println(input);
so how do i print the input??
Loading more items...