893 人解决,933 人已尝试。
1056 份提交通过,共有 1735 份提交。
0.2 EMB 奖励。
单点时限: 5.0 sec
内存限制: 256 MB
You may have seen a mechanic typewriter ― such devices were widespread just 15 years ago, before computers replaced them. It is a very simple thing. You strike a key on the typewriter keyboard, the corresponding type bar rises, and the metallic letter molded into the type bar strikes the paper. The art of typewriter typing, however, is more complicated than the art of computer typing. You should strike keys with some force otherwise the prints will not be dark enough. Also you should not overdo it otherwise the paper will be damaged.
Imagine a typewriter with very sharp letters, which cut the paper instead of printing. It is clear that digit
The Jury thinks about some exhibition devoted to the oncoming jubilee of Pascal language. One of the ideas is to make an art installation, consisting of an empty sheet of paper with exactly
holes made by typing a non-negative integer number on the cutting typewriter described above. The number must be minimal possible and should not have leading zeroes. Unluckily we are too busy with preparing the ACM quarter- and semifinals, so we need your help and ask you to write a computer program to generate the required number.
A single integer number
The integer number which should be typed.
0 1 15 70
1 0 48888888 88888888888888888888888888888888888
893 人解决,933 人已尝试。
1056 份提交通过,共有 1735 份提交。
0.2 EMB 奖励。