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.
This comment is hidden because it contains spoiler information about the solution
Also, the input range is given. Any good competitive programming participant should be able to judge the required complexity based on the input range ;-)
No reason for the backslash character. I just copied the mapping between letters from some page and it was there. It may be removed.
Short variables save time needed to code so simple things :P And I will never go back to this code so it doesn't matter. It's not a production.
On CW you can see quite a few katas sharing the task, but with different requirements:
Insane
in the title)Please note that these cases do not violate the notion of "self-contained".
Well, its a 2kyu kata. What do you expect? :P
You surely didn't read the first line ;-)
Have you read the descriptions? ;-)
There's no point in using longer names for things you only use shortly ;-)
Thanks for reviewing my solution! I'll try to figure out how to optimize it.
This comment is hidden because it contains spoiler information about the solution
You cast the result to string anyway, isn't using modulo (6 times) more expensive in this case?
Y is sometimes pronounces nearly like a 'j' - in this case, it must be kept.
When inputting "why?" output should be "wh?" (at least in my interpretation :)