上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 29 下一页
摘要: DescriptionFacer is addicted to a game called "Tidy is learning to swim". But he finds it too easy. So he develops a new game called "Facer is learning to swim" which is more difficult and more interesting.In the new game, a robot named "Facer" is swimming in a pool. Th 阅读全文
posted @ 2013-08-19 20:09 Oyking 阅读(522) 评论(0) 推荐(0) 编辑
摘要: DescriptionTed has a new house with a huge window. In this big summer, Ted decides to decorate the window with some posters to prevent the glare outside. All things that Ted can find are rectangle posters.However, Ted is such a picky guy that in every poster he finds something ugly. So before he pas 阅读全文
posted @ 2013-08-17 16:51 Oyking 阅读(375) 评论(0) 推荐(0) 编辑
摘要: DescriptionThe city of M is a famous shopping city and its open-air shopping malls are extremely attractive. During the tourist seasons, thousands of people crowded into these shopping malls and enjoy the vary-different shopping.Unfortunately, the climate has changed little by little and now rainy d 阅读全文
posted @ 2013-08-16 22:52 Oyking 阅读(279) 评论(0) 推荐(0) 编辑
摘要: DescriptionStudents often have problems taking up seats. When two students want the same seat, a quarrel will probably begin.It will have very bad effect when such subjects occur on the BBS. So, we urgently need a seat-taking-up rule. After several days of argument, the rule finally comes out: As sh 阅读全文
posted @ 2013-08-16 17:14 Oyking 阅读(334) 评论(0) 推荐(0) 编辑
摘要: DescriptionOn the evening of 3 August 1492, Christopher Columbus departed from Palos de la Frontera with a few ships, starting a serious of voyages of... 阅读全文
posted @ 2013-08-16 16:18 Oyking 阅读(416) 评论(0) 推荐(0) 编辑
摘要: DescriptionToo worrying about the house price bubble, poor Mike sold his house and rent an apartment in a 50-floor building several months ago. This building has only one elevator because it is a so called “rotten tail building”. There are always a lot of people crowding at the gate of the elevator 阅读全文
posted @ 2013-08-16 14:56 Oyking 阅读(383) 评论(0) 推荐(0) 编辑
摘要: DescriptionPanagola, The Lord of city F likes to parade very much. He always inspects his city in his car and enjoys the welcome of his citizens. City... 阅读全文
posted @ 2013-08-15 16:48 Oyking 阅读(271) 评论(0) 推荐(0) 编辑
摘要: 一、代码: 1、求逆元(原理貌似就是拓展欧几里得,要求MOD是素数): 2、底层优化(正确性未验证): 3、扩栈,这玩意儿在OJ上用能防爆? 4、神速读入fread 二、神牛blog matrix67 ZKW watashi 三、专题 动态规划系列: 数位dp模板 字符串系列: 【专辑】AC自动机 阅读全文
posted @ 2013-08-14 23:48 Oyking 阅读(1273) 评论(0) 推荐(0) 编辑
摘要: DescriptionN(3 2 #include 3 #include 4 #include 5 using namespace std; 6 typedef long long LL; 7 8 const int MAXN = 20010; 9 10 struct Node {11 int val, id;12 bool operator 0) {29 ret += tree[k];30 k -= lowbit(k);31 }32 return ret;33 }34 35 inline void modify(int... 阅读全文
posted @ 2013-08-14 23:22 Oyking 阅读(315) 评论(0) 推荐(0) 编辑
摘要: DescriptionJohn is the only priest in his town. October 26th is the John's busiest day in a year because there is an old legend in the town that the couple who get married on that day will be forever blessed by the God of Love. This year N couples plan to get married on the blessed day. The i-th 阅读全文
posted @ 2013-08-14 22:09 Oyking 阅读(354) 评论(0) 推荐(0) 编辑
上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 29 下一页