All submissions for this problem are available.
In India every state is flooded with engg. colleges. So, state government's have decided to change their state's name according to the number of colleges in their
state. Some one has developed a software which guess first letter for their states name when fed with input as total number of engg. colleges in that state.
Maximum number of colleges can be 9999999999 in any state and minimum is 1. If a state has no engg. college then software terminates and doesn't output any
further result. But the person who developed the software has forgot the logic he applied in that code. You need to guess the logic so that further
development can take place.
Each line of input consists of a number of colleges (maximum 10 digits) to be tested. when 0 is encountered as input program terminates
Ouput consists of an alphabet for each input number.
Input: 2134757888 123987 122455 35677 0 Output: I E K L
|Time Limit:||1.16129 sec|
|Source Limit:||50000 Bytes|
|Languages:||C, CPP14, JAVA, PYTH, PYTH 3.5, PYPY, CS2, PAS fpc, PAS gpc, RUBY, PHP, GO, NODEJS, HASK, rust, SCALA, swift, D, PERL, FORT, WSPC, ADA, CAML, ICK, BF, ASM, CLPS, PRLG, ICON, SCM qobi, PIKE, ST, NICE, LUA, BASH, NEM, LISP sbcl, LISP clisp, SCM guile, JS, ERL, kotlin, PERL6, TEXT, SCM chicken, CLOJ, COB, FS|
Fetching successful submissions
If you are still having problems, see a sample solution here.