《计算机算法设计与分析》啃书中。。。 有点看不进书,就来刷个水题吧,刚开始看错题了还。 注意:是所有测量点相差均不大于di而不是相邻两点。。。 也不知道我是不是写的有点麻烦。。。 ...
分类:
其他好文 时间:
2016-04-25 19:17:09
阅读次数:
119
正在看《算法设计与分析》的动规3.4 ,因此找了这道题来写。 ...
分类:
其他好文 时间:
2016-04-24 23:01:35
阅读次数:
253
Description 移动信息工程学院即将要离开中珠了, KY在珠海认识了很多女孩,自然很舍不得中珠。于是,他想为这些女孩留下一些礼物,最近中珠阴雨绵绵,五行缺水的他于是想到留下最珍贵的中珠雨水作为纪念。现在他想尽可能地收集到多一点的中珠雨水,假设中珠的地形抽象为一张二维的海拔图,区域的个数为n, ...
分类:
其他好文 时间:
2016-04-06 23:16:38
阅读次数:
158
Time Limit: 1 secs, Memory Limit: 64 MB In the two-player game "Two Ends", an even number of cards is laid out in a row. On each card, face up, is wri
分类:
其他好文 时间:
2016-03-23 06:21:50
阅读次数:
238
Time Limit: 1 secs, Memory Limit: 32 MB Dr lee cuts a string S into N pieces,s[1],…,s[N]. Now, Dr lee gives you these N sub-strings: s[1],…s[N]. There
分类:
其他好文 时间:
2016-03-23 06:19:11
阅读次数:
174
Time Limit: 1 secs, Memory Limit: 32 MB Craig is fond of planes. Making photographs of planes forms a major part of his daily life. Since he tries to
分类:
其他好文 时间:
2016-03-23 06:16:00
阅读次数:
167
Time Limit: 1 secs, Memory Limit: 32 MB DNA (Deoxyribonucleic acid) is founded in every living creature as the storage medium for genetic information.
分类:
其他好文 时间:
2016-03-23 06:13:56
阅读次数:
183
Time Limit: 1 secs, Memory Limit: 32 MB N couples are standing in a circle, numbered consecutively clockwise from 1 to 2N. Husband and wife do not alw
分类:
其他好文 时间:
2016-03-23 06:09:31
阅读次数:
150
Time Limit: 1 secs, Memory Limit: 32 MB On BBS, there is a familiar term called MJ (short for MaJia), which means another BBS ID of one person besides
分类:
其他好文 时间:
2016-03-23 06:05:48
阅读次数:
279
Time Limit: 1 secs, Memory Limit: 32 MB Long long ago, there was a super computer that could deal with VeryLongIntegers(no VeryLongInteger will be neg
分类:
其他好文 时间:
2016-03-23 00:54:22
阅读次数:
272