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.
(((code.indexOf(e) + 1) * Math.pow(2, i + 1)) % 67 + 66) % 67
can't believe, how did you find that long long fomula?
how stupid i am...
romanDigit[a][b] == a\*10^b
is a wrong comment, which I fogot to delete.I use
romanDigitMap[roman]
to do roman => number job,and use
getRoman(number)
to do number => roman jobI use
romanFormat
to get rid of the long if...else code which is needed to creating the roman pattern.