题目链接:POJ - 2481 题目大意: 给出区间A[s1,s2],区间B[s3,s4]. 如果区间A包涵区间B且不是完全重合,则区间A的强壮度+1。 问对于每个区间,他们被多少个区间包含。 题目分析: 其实可以把区间的起始点和结束点 i 和 j 转换成坐标X,Y。 然后这个题就可以转换成类似于P ...
分类:
其他好文 时间:
2017-08-20 10:12:49
阅读次数:
146
/bin 二进制可执行命令。该目录下存放着普通用户的命令 /dev 系统的设备文件,即设备的驱动程序 /home 用户主目录的基点 /lost-found 这个目录平时是空的,当系统非正常关机而留下的“无家可归”的文件便会储存在这里 /misc 储存着一些特殊的字符的定义 /net 存放着和网络相关 ...
分类:
系统相关 时间:
2017-08-20 00:43:56
阅读次数:
191
http://acm.hdu.edu.cn/showproblem.php?pid=2838 Problem Description Sherlock's N (1 ≤ N ≤ 100,000) cows are lined up to be milked in the evening. Each ...
分类:
其他好文 时间:
2017-08-19 20:10:42
阅读次数:
131
P1339 [USACO09OCT]热浪Heat Wave 题目描述 The good folks in Texas are having a heatwave this summer. Their Texas Longhorn cows make for good eating but are n ...
分类:
其他好文 时间:
2017-08-19 17:07:15
阅读次数:
201
题目描述 Like everyone else, FJ is always thinking up ways to increase his revenue. To this end, he has set up a series of tolls that the cows will pay wh ...
分类:
其他好文 时间:
2017-08-19 11:06:53
阅读次数:
171
"Fat and docile, big and dumb, they look so stupid, they aren't much fun..." - Cows with Guns by Dana Lyons The cows want to prove to the public that ...
分类:
其他好文 时间:
2017-08-19 11:01:52
阅读次数:
135
一. 题目描写叙述 You are playing the following Bulls and Cows game with your friend: You write down a number and ask your friend to guess what the number is. ...
分类:
其他好文 时间:
2017-08-18 19:57:14
阅读次数:
225
Rebuilding Roads Time Limit: 1000MS Memory Limit: 30000K Total Submissions: 10653 Accepted: 4884 Description The cows have reconstructed Farmer John’s ...
分类:
其他好文 时间:
2017-08-18 14:33:08
阅读次数:
161
题目连接: http://poj.org/problem?id=2387 Description Bessie is out in the field and wants to get back to the barn to get as much sleep as possible before ...
分类:
其他好文 时间:
2017-08-18 09:43:43
阅读次数:
289
Scales Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 3148 Accepted: 851 Description Farmer John has a balance for weighing the cows. He a ...
分类:
编程语言 时间:
2017-08-17 22:51:09
阅读次数:
291