시간 제한 | 메모리 제한 | 제출 | 정답 | 맞힌 사람 | 정답 비율 |
---|---|---|---|---|---|
1 초 | 1024 MB | 106 | 65 | 52 | 58.427% |
A “Mutint” is an integer M that is changed according to certain criteria, such as in this problem. Given a positive integer, change M according to the following rules.
Several integers, each on one line. The end of input is signaled with a zero on the last line. All integers, except the last integer, are positive.
M, according to the rules above. M cannot have leading zeros.
132 1421 18234 923 0
102 1821 12234 23