| [ QuizWit ] in KIDS 글 쓴 이(By): soulman (그림자) 날 짜 (Date): 2001년 1월 5일 금요일 오전 09시 46분 10초 제 목(Title): Re: 도와줘여~~ ^^;; x_n = 100 a_n + b_n, 0<=b_n<100 if b_n<=89 & b_n%10 != 0 then Dx = 9 (obvious) if b_n<=70 & b_n%10 == 0 then Dx = 29 (obvious too) if b_n>89 then a_(n+1) = a_n + 1 , a_(n+1) (mod 11) can be any number so b_(n+1) can be 0 ~ 9 or 19 the maximum Dx = 119 - 90 = 29. The only exception is when b_n = 80 and in this case, b_(n+1) can be 0 ~ 9 or 19 and Maximum Dx = 119 - 80 = 39. 처음엔 minimum Dx도 있으려나 했는데, 10999999 110000000 에서는 Dx = 1이네요.. |