摘要:
A. Hotelier A. Hotelier 题意:一家有10间房间的旅馆(10个房间排成一排),在旅馆的左右两端都有一个办理入住的前台,L代表在左端办理入住,R代表在右端办理入住,顾客都会挑选距离最近的空房间入住,数字 i 表示房间号为 i 的顾客退房,问最后房间的入住情况 题解:用set保存每 阅读全文
posted @ 2019-08-21 17:11
知道了呀~
阅读(282)
评论(0)
推荐(0)
摘要:
Consider n given non-empty strings denoted by s1 , s2 , · · · , sn . Now for each of them, you need to select a corresponding suffix, denoted by suf1, 阅读全文
posted @ 2019-08-21 12:02
知道了呀~
阅读(396)
评论(0)
推荐(0)

浙公网安备 33010602011771号