vacations 原题codeforeces round 363 (Div2) c 题目描述 暑假到了, Pb 正在计划他的假期。 Pb 准备假期去体育馆锻炼或看电影。但体育馆和电影院都有可能当天不开放。因此每一天有 4 中状态,我们用 0,1,2,3 表示。0:体育馆和电影院都关闭。1:体育馆关 ...
分类:
其他好文 时间:
2017-10-14 23:26:30
阅读次数:
200
题目描述 Farmer John and his cows are planning to leave town for a long vacation, and so FJ wants to temporarily close down his farm to save money in the ...
分类:
其他好文 时间:
2017-09-10 11:11:05
阅读次数:
240
Description Air Bovinia operates flights connecting the N farms that the cows live on (1 <= N <= 20,000). As with any airline, K of these farms have b ...
分类:
其他好文 时间:
2017-08-15 15:12:50
阅读次数:
256
P2894 [USACO08FEB]酒店Hotel 题目描述 The cows are journeying north to Thunder Bay in Canada to gain cultural enrichment and enjoy a vacation on the sunny sh ...
分类:
其他好文 时间:
2017-08-09 23:51:57
阅读次数:
190
Problem Description Last year summer Max traveled to California for his vacation. He had a great time there: took many photos, visited famous universi ...
分类:
其他好文 时间:
2017-07-10 12:06:17
阅读次数:
217
John Doe, a skilled pilot, enjoys traveling. While on vacation, he rents a small plane and starts visiting beautiful places. To save money, John must ...
分类:
其他好文 时间:
2017-06-29 22:30:32
阅读次数:
191
chose the winner We'll CHOOSE the WINner on SATuerday or SUNday. go on vacation MAny of the STUdents are Going on vaCAtion toMOrrow. feel stressed I a ...
分类:
其他好文 时间:
2017-06-22 19:46:27
阅读次数:
225
Description The cows are journeying north to Thunder Bay in Canada to gain cultural enrichment and enjoy a vacation on the sunny shores of Lake Superi ...
分类:
其他好文 时间:
2017-06-06 13:09:56
阅读次数:
264
LeetCode wants to give one of its best employees the option to travel among N cities to collect algorithm problems. But all work and no play makes Jac ...
分类:
其他好文 时间:
2017-05-30 00:38:18
阅读次数:
448
【BZOJ1283】序列 Description 给出一个长度为 的正整数序列Ci,求一个子序列,使得原序列中任意长度为 的子串中被选出的元素不超过K(K,M<=100) 个,并且选出的元素之和最大。 Input 第1行三个数N,m,k。 接下来N行,每行一个字符串表示Ci。 Output 最大和。 ...
分类:
其他好文 时间:
2017-05-22 17:49:24
阅读次数:
210