上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 24 下一页
摘要: The most exciting space discovery occurred at the end of the 20th century. In 1999, scientists traced down an ant like creature in the planet Y1999 an 阅读全文
posted @ 2018-08-04 10:52 一无所知小白龙 阅读(292) 评论(1) 推荐(0) 编辑
摘要: Once upon a time there was a greedy King who ordered his chief Architect to build a wall around the King's castle. The King was so greedy, that he wou 阅读全文
posted @ 2018-08-04 10:50 一无所知小白龙 阅读(388) 评论(0) 推荐(0) 编辑
摘要: 扫描法:O(n lgn) 先取一点最下,最左的点开始,以它为基点,做极坐标方程,其他点按角度排序,角度相同按对它的距离排序; 后面以下一个点为基点排序,但是如果在用sort,复杂度就变成O(n^2)了,所以不能这样;(衍生出一种题目,如果数据不多,而且要求以蚊香式输出点的话可以这样) 所以对下一点为 阅读全文
posted @ 2018-08-03 10:19 一无所知小白龙 阅读(165) 评论(0) 推荐(0) 编辑
摘要: Message queue is the basic fundamental of windows system. For each process, the system maintains a message queue. If something happens to this process 阅读全文
posted @ 2018-08-02 16:51 一无所知小白龙 阅读(315) 评论(0) 推荐(0) 编辑
摘要: There is a famous railway station in PopPush City. Country there is incredibly hilly. The station was built in last century. Unfortunately, funds were 阅读全文
posted @ 2018-08-02 15:18 一无所知小白龙 阅读(158) 评论(0) 推荐(0) 编辑
摘要: As the new term comes, the Ignatius Train Station is very busy nowadays. A lot of student want to get back to school by train(because the trains in th 阅读全文
posted @ 2018-08-02 14:30 一无所知小白龙 阅读(389) 评论(0) 推荐(0) 编辑
摘要: You are given string s consists of opening and closing brackets of four kinds , {}, [], (). There are two types of brackets: opening and closing. You 阅读全文
posted @ 2018-08-02 13:07 一无所知小白龙 阅读(262) 评论(0) 推荐(0) 编辑
摘要: 看病要排队这个是地球人都知道的常识。 不过经过细心的0068的观察,他发现了医院里排队还是有讲究的。0068所去的医院有三个医生(汗,这么少)同时看病。而看病的人病情有轻重,所以不能根据简单的先来先服务的原则。所以医院对每种病情规定了10种不同的优先级。级别为10的优先权最高,级别为1的优先权最低。 阅读全文
posted @ 2018-08-02 08:55 一无所知小白龙 阅读(272) 评论(0) 推荐(0) 编辑
摘要: You have n boxes in a line on the table numbered 1 . . . n from left to right. Your task is to simulate 4 kinds of commands: • 1 X Y : move box X to t 阅读全文
posted @ 2018-08-01 20:58 一无所知小白龙 阅读(302) 评论(0) 推荐(0) 编辑
摘要: You’re typing a long text with a broken keyboard. Well it’s not so badly broken. The only problem with the keyboard is that sometimes the “home” key o 阅读全文
posted @ 2018-08-01 20:51 一无所知小白龙 阅读(378) 评论(0) 推荐(0) 编辑
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 24 下一页