Description
Farmer John is leaving his house promptly at 6 AM for his daily milking of Bessie. However, the previous evening saw a heavy rain, and the fields are quite muddy. FJ starts at the point...
分类:
其他好文 时间:
2014-07-29 17:47:12
阅读次数:
247
详解:hdu 1907 John - lihaogegehuting的专栏 - 博客频道 - CSDN.NET
两道题几乎一样
代码如下:
#include
int main()
{
int T,a[100],i,sum,ok;
while(~scanf("%d",&T))
{
sum=0;
ok=0;
...
原题http://poj.org/problem?id=2456
Aggressive cows
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 6001
Accepted: 2989
Description
Farmer John has built a new...
分类:
其他好文 时间:
2014-07-29 15:04:48
阅读次数:
199
Drainage Ditches
Time Limit: 1000MS
Memory Limit: 10000K
Total Submissions: 55276
Accepted: 21122
Description
Every time it rains on Farmer John's fields, a pond fo...
分类:
其他好文 时间:
2014-07-29 14:34:22
阅读次数:
185
??
Description
Keeping track of all the cows can be a tricky task so Farmer John has installed a system to automate it. He has installed on each cow an electronic ID tag that the system will read ...
分类:
其他好文 时间:
2014-07-29 13:22:46
阅读次数:
212
http://poj.org/problem?id=3254Corn FieldsTime Limit:2000MSMemory Limit:65536KTotal Submissions:7113Accepted:3778DescriptionFarmer John has purchased a...
分类:
其他好文 时间:
2014-07-29 10:40:46
阅读次数:
288
取火柴的游戏
题目1:今有若干堆火柴,两人依次从中拿取,规定每次只能从一堆中取若干根,
可将一堆全取走,但不可不取,最后取完者为胜,求必胜的方法。
若sum=0;则先取者输,后取者胜;
若sum=!0,则先取者使其变成奇异状态,先取者胜
即谁先面临奇异状态谁输;
题目2:今有若干堆火柴,两人依次从中拿取,规定每次只能从一堆中取若干根,
可将一堆全取走,但不可不取,...
分类:
其他好文 时间:
2014-07-28 16:30:13
阅读次数:
240
花括号保存对象方括号保存数组数组[];对象 {}数组对象:[ {}, {}, {} ](1)、复杂JSON对象。{"employees": [{ "firstName":"John" , "lastName":"Doe" }, { "firstName":"Anna" , "lastN...
分类:
Web程序 时间:
2014-07-28 11:38:50
阅读次数:
234
基础
Time Limit:5000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64u
Submit Status
Description
For the daily milking, Farmer John's N cows (1 ≤ N ≤ 50,000) always line up in the s...
分类:
其他好文 时间:
2014-07-27 11:47:53
阅读次数:
229
Cow Sorting
Time Limit: 2000MS
Memory Limit: 65536K
Total Submissions: 5946
Accepted: 2263
Description
Farmer John's N (1 ≤ N ≤ 10,000) cows are lined up to be milk...
分类:
其他好文 时间:
2014-07-27 11:19:42
阅读次数:
354