摘要: DescriptionThe ministers of the cabinet were quite upset by the message from the Chief of Security stating that they would all have to change the four-digit room numbers on their offices.— It is a matter of security to change such things every now and then, to keep the enemy in the dark.— But look, 阅读全文
posted @ 2013-05-31 22:11 欧阳生朵 阅读(395) 评论(0) 推荐(0)
摘要: DescriptionGiven a positive integer n, write a program to find out a nonzero multiple m of n whose decimal representation contains only the digits 0 and 1. You may assume that n is not greater than 200 and there is a corresponding m containing no more than 100 decimal digits.InputThe input file may 阅读全文
posted @ 2013-05-31 15:56 欧阳生朵 阅读(510) 评论(0) 推荐(0)