摘要: Jacquez and Alia’s parents take them on many road trips. To keep themselves occupied, they play a triangular peg game, meant for one player. In the or 阅读全文
posted @ 2019-04-19 20:35 犹疑照颜色 阅读(363) 评论(0) 推荐(0) 编辑
摘要: 为了写题解,在此放上两个题的代码 B: K: 阅读全文
posted @ 2019-04-18 16:47 犹疑照颜色 阅读(222) 评论(0) 推荐(0) 编辑
摘要: With modern technology advancement, it is now possible to deliver mail with a robot! There is a neighborhood on a long horizontal road, on which there 阅读全文
posted @ 2019-04-15 18:17 犹疑照颜色 阅读(324) 评论(0) 推荐(0) 编辑
摘要: Bingo is a game of chance played by a group of players. Each player has his or her own bingo card with a 55-by-55grid of numbers. Each number appears 阅读全文
posted @ 2019-04-15 18:08 犹疑照颜色 阅读(546) 评论(0) 推荐(0) 编辑
摘要: DreamGrid went to the bookshop yesterday. There are books in the bookshop in total. Because DreamGrid is very rich, he bought the books according to t 阅读全文
posted @ 2019-04-08 17:45 犹疑照颜色 阅读(239) 评论(0) 推荐(0) 编辑
摘要: Let's introduce a number system which is based on a roman digits. There are digits I, V, X, L which correspond to the numbers 11, 55, 1010 and 5050 re 阅读全文
posted @ 2019-04-07 09:30 犹疑照颜色 阅读(326) 评论(0) 推荐(0) 编辑
摘要: 在天梯赛被L1-8“弄死“”之后练的题目 If you ever tried to read a html document on a Macintosh, you know how hard it is if no Netscape is installed. Now, who can forge 阅读全文
posted @ 2019-04-04 16:27 犹疑照颜色 阅读(168) 评论(0) 推荐(0) 编辑
摘要: 以上图片来自新浪微博。 本题要求你实现一个稍微更值钱一点的 AI 英文问答程序,规则是: 无论用户说什么,首先把对方说的话在一行中原样打印出来; 消除原文中多余空格:把相邻单词间的多个空格换成 1 个空格,把行首尾的空格全部删掉,把标点符号前面的空格删掉; 把原文中所有大写英文字母变成小写,除了 I 阅读全文
posted @ 2019-04-02 21:04 犹疑照颜色 阅读(404) 评论(0) 推荐(0) 编辑
摘要: 首先来说一下自己的情况 吃完午饭后顺利到了考场并找到了自己的位置,登陆,然后趴下眯一会儿。 开始前10分钟去上了个厕所然后洗了个脸就回去准备了 开始之后按照战术直接L2; 先看L2-1,特立独行的幸福,没想太多,直接搞分(感觉今年的天梯赛这句话不太适用) 写了半个多小时提交之后4分,当时就慌了,权衡 阅读全文
posted @ 2019-03-31 17:32 犹疑照颜色 阅读(348) 评论(0) 推荐(0) 编辑
摘要: 这个题网上的大多数题解都说是思维题 其实可以用兰道定理解决 首先来说明一下兰道定理 兰道定理又称竞赛图定理,是一个定义在有向图上的概念,顾名思义,它可以想象成n个人两两对决,赢得向输的连边,其实就是给一副完全图的无向边定了方向。 定义一个竞赛图的比分序列(score sequence),是把竞赛图的 阅读全文
posted @ 2019-03-28 17:14 犹疑照颜色 阅读(338) 评论(0) 推荐(0) 编辑