zhber
有好多做过的题没写下来,如果我还能记得就补吧

随笔分类 -  搜索

上一页 1 2 3
bzoj1627[Usaco2007 Dec]穿越泥地
摘要:Description清早6:00,Farmer John就离开了他的屋子,开始了他的例行工作:为贝茜挤奶。前一天晚上,整个农场刚经受过一场瓢泼大雨的洗礼,于是不难想见,FJ 现在面对的是一大片泥泞的土地。FJ的屋子在平面坐标(0, 0)的位置,贝茜所在的牛棚则位于坐标(X,Y) (-500 #in... 阅读全文
posted @ 2014-06-15 21:29 zhber 阅读(206) 评论(0) 推荐(0)
2014.6.14模拟赛【bzoj1646】[Usaco2007 Open]Catch That Cow 抓住那只牛
摘要:DescriptionFarmer John has been informed of the location of a fugitive cow and wants to catch her immediately. He starts at a point N (0 #include#incl... 阅读全文
posted @ 2014-06-14 21:39 zhber 阅读(176) 评论(0) 推荐(0)
bzoj1707[Usaco2007 Nov]tanning分配防晒霜
摘要:Description奶牛们计划着去海滩上享受日光浴。为了避免皮肤被阳光灼伤,所有C(1 =x的牛开始找起——剪枝就在这里其他没有了……暴力呗#include#includeusing namespace std;int n,m,ans,now=1;int l[3000],r[3000];struc... 阅读全文
posted @ 2014-06-06 22:42 zhber 阅读(175) 评论(0) 推荐(0)
bzoj1603 [Usaco2008 Oct]打谷机
摘要:DescriptionFarmer John有一个过时的打谷机(收割小麦),它需要带子来带动。发动机驱动轮1总是顺时针旋转的,用来带动转轮2,转轮2来带动转轮3,等等。一共有n(2#include#includeusing namespace std;int n,cnt;struct edge{ ... 阅读全文
posted @ 2014-05-31 22:53 zhber 阅读(235) 评论(0) 推荐(0)
bzoj1602 [Usaco2008 Oct]牧场行走
摘要:DescriptionN头牛(2#include#includeusing namespace std;struct aaa{ int to,next,v;}e[5000000];int n,m,cnt,x,y,z;int head[100000];int map[1001][1001];bo... 阅读全文
posted @ 2014-05-31 22:51 zhber 阅读(190) 评论(0) 推荐(0)
2014.5.31模拟赛【水灾】
摘要:水灾(sliker.cpp/c/pas) 1000MS 64MB大雨应经下了几天雨,却还是没有停的样子。土豪CCY刚从外地赚完1e元回来,知道不久除了自己别墅,其他的地方都将会被洪水淹没。CCY所在的城市可以用一个N*M(N,M#includeusing namespace std;int n,m;... 阅读全文
posted @ 2014-05-31 22:17 zhber 阅读(223) 评论(0) 推荐(0)

上一页 1 2 3