uva1347 Tour 题目大意: 两个人同时从最左点出发,沿着两条不同的路径走到最右点(除了起点和终点每个点走且仅走一次) ...
分类:
其他好文 时间:
2017-08-21 09:51:42
阅读次数:
168
循环移动 (cyclic.cpp/c/pas) (1s/256M) 问题描述 给出一个字符串S与N个操作。每个操作用三元组(L, R, K)进行描述:操作将字符串第L个到第R个位置构成的子串循环移动K次。一次循环移动就是将字符串最后的这个字符移动到第一位,其余的字符顺次后移。 例如,对于字符串aba ...
分类:
其他好文 时间:
2017-08-18 20:02:32
阅读次数:
178
http://acm.hdu.edu.cn/showproblem.php?pid=3746 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 9 ...
分类:
其他好文 时间:
2017-08-17 21:22:24
阅读次数:
151
There are N cities in our country, and M one-way roads connecting them. Now Little Tom wants to make several cyclic tours, which satisfy that, each cy ...
分类:
编程语言 时间:
2017-08-14 16:23:46
阅读次数:
180
Problem Description CC always becomes very depressed at the end of this month, he has checked his credit card yesterday, without any surprise, there a ...
分类:
其他好文 时间:
2017-08-08 14:01:31
阅读次数:
176
Language: Default Sightseeing Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 7766 Accepted: 2766 Description Tour operator Your Personal H ...
分类:
其他好文 时间:
2017-08-05 20:32:52
阅读次数:
239
题目链接: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=446&page=show_problem&problem=4093 题目描述: 有N个点, 要求求一个回路的最短距离。(N <= ...
分类:
其他好文 时间:
2017-08-01 22:55:40
阅读次数:
98
Evacuation Plan Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 4914 Accepted: 1284 Special Judge Description The City has a number of muni ...
分类:
其他好文 时间:
2017-07-29 12:42:37
阅读次数:
230
Farm Tour Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 17307 Accepted: 6687 Description When FJ's friends visit him on the farm, he like ...
分类:
其他好文 时间:
2017-07-28 23:40:14
阅读次数:
261
题目链接 Treeland Tour 题目就是让你求树上LIS 先离散化,然后再线段树上操作。一些细节需要注意一下。 ...
分类:
其他好文 时间:
2017-07-21 23:18:50
阅读次数:
298