作者LPH66 (かつて交わした约束)
看板puzzle
标题[中译] Puzzleup 2017 (6) Palindromic Code
时间Thu Sep 14 16:01:31 2017
题目网址:
http://www.puzzleup.com/2017/
http://www.puzzleup.com/2017/puzzle/?6
答题时限: 9月14日7PM-比赛结束(约12月27日)
加分时限: 9月14日7PM-9月19日6:59PM
答对可得基本分100分。答案可上传5次,每改1次答案从基本分扣20分。
比赛期间内可随时上传答案,加分时限内答对第n天加(6-n)分
另依题目的难易有额外加分(如有80%的人这题答错,答对者加80分)
◆PALINDROMIC CODE
All 5-digit codes where a digit is used at most twice is generated and
listed in ascending order. N codes consecutive in the list will be selected.
What is the minimum value of N for which having a palindromic code in the
list is guaranteed?
A palindromic code is one that is the same forwards and backwards.
For example: 00000, 02520, 47974.
以递增顺序列出所有任一数字不出现超过两次的五位数的编码。
在其中选择连续的 N 个编码。
试问 N 要最小多少才能保证无论怎麽选,当中总有一个回文编码?
回文编码即是正读反读均相同的编码。例如:00000、02520、47974。
--
1985/01/12 三嶋鸣海 1989/02/22 优希堂悟 1990/02/22 冬川こころ 1993/07/05 小町
つぐみ 欢迎来到 1994/05/21 高江ミュウ 1997/03/24 守野いづみ 1997/03/24 伊野瀬
チサト 1998/06/18 守野くるみ 打越钢太郎的 1999/10/19 楠田ゆに 2000/02/15 樋口遥
2002/12/17 八神ココ 2011/01/11 HAL18於朱仓岳坠机 ∞与∫的世界 2011/04/02 茜崎空
启动 2012/05/21 第貮日蚀计画预定 2017/05/01~07 LeMU崩坏 2019/04/01~07 某大学合宿
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 140.112.30.32
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/puzzle/M.1505376095.A.345.html
1F:推 DreamYeh: 置底 09/14 18:25