P2946 [USACO09MAR]牛飞盘队Cow Frisbee Team 题目描述 After Farmer Don took up Frisbee, Farmer John wanted to join in the fun. He wants to form a Frisbee team f ...
分类:
其他好文 时间:
2017-05-27 15:17:51
阅读次数:
258
传送门 f[i] 表示前 i 个字符去掉多少个 的最优解 直接暴力DP ——代码 1 #include <cstdio> 2 #include <cstring> 3 #include <iostream> 4 5 int n, m, cnt, f[301]; 6 char s[301], a[60 ...
分类:
其他好文 时间:
2017-05-26 10:59:33
阅读次数:
297
[USACO07DEC]最佳牛线,黄金Best Cow Line, Gold 题目描述 FJ is about to take his N (1 ≤ N ≤ 30,000) cows to the annual"Farmer of the Year" competition. In this con ...
分类:
其他好文 时间:
2017-05-26 00:51:30
阅读次数:
248
Description Farmer John recently bought another bookshelf for the cow library, but the shelf is getting filled up quite quickly, and now the only avai ...
分类:
其他好文 时间:
2017-05-25 21:54:10
阅读次数:
250
传送门 有向图,找点数大于1的强连通分量个数 ——代码 1 #include <stack> 2 #include <cstdio> 3 #include <cstring> 4 #include <iostream> 5 6 const int MAXN = 50001; 7 int n, m, ...
分类:
其他好文 时间:
2017-05-24 19:45:44
阅读次数:
204
head header 有头的 headless 无头的 header 首领 headship 领导地位 ahead 在前 forehead 额头 behead 斩首 beheading 斩首 subhead 小标题 work to work 工作 worker 工人 workable 可加工的 w ...
分类:
其他好文 时间:
2017-05-24 19:19:27
阅读次数:
229
题目传送门:http://acm.hdu.edu.cn/showproblem.php?pid=2717 Catch That Cow Time Limit: 5000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)To ...
分类:
其他好文 时间:
2017-05-24 00:53:36
阅读次数:
228
To 洛谷.2879 区间统计 题目描述 FJ's N (1 ≤ N ≤ 10,000) cows conveniently indexed 1..N are standing in a line. Each cow has a positive integer height (which is a ...
分类:
其他好文 时间:
2017-05-23 15:59:28
阅读次数:
194
Openfire采用Java开发,开源的实时协作(RTC)服务器基于XMPP(Jabber)协议。Openfire安装和使用都非常简单,并利用Web进行管理。单台服务器可支持上万并发用户。 好友界面 功能界面 聊天界面 服务端可以用本服务器测试,地址:www.ithtw.com。如果想自己搭可在本博 ...
分类:
其他好文 时间:
2017-05-23 10:23:10
阅读次数:
614
题目描述 The good folks in Texas are having a heatwave this summer. Their Texas Longhorn cows make for good eating but are not so adept at creating creamy ...
分类:
其他好文 时间:
2017-05-19 22:18:48
阅读次数:
208