zhber
有好多做过的题没写下来,如果我还能记得就补吧
摘要: DescriptionThe cows are having a picnic! Each of Farmer John's K (1 2The pastures are laid out as shown above, with cows in pastures 2 and 3.Sample Ou... 阅读全文
posted @ 2014-07-30 23:26 zhber 阅读(182) 评论(0) 推荐(0) 编辑
摘要: DescriptionFarmer John has taken his cows on a trip to the city! As the sun sets, the cows gaze at the city horizon and observe the beautiful silhouet... 阅读全文
posted @ 2014-07-30 22:54 zhber 阅读(221) 评论(0) 推荐(0) 编辑
摘要: Description考虑一个 N x N (1 #includeconst int mx[4]={1,0,-1,0};const int my[4]={0,1,0,-1};int n,sx,sy,ex,ey,ans=100000,t,w;int dist[4][110][110];int q[10... 阅读全文
posted @ 2014-07-30 21:22 zhber 阅读(254) 评论(0) 推荐(0) 编辑
摘要: DescriptionFJ打算带着他可爱的N (1 ≤ N ≤ 2,000)头奶牛去参加”年度最佳老农”的比赛.在比赛中,每个农夫把他的奶牛排成一列,然后准备经过评委检验. 比赛中简单地将奶牛的名字缩写为其头字母(the initial letter of every cow),举个例子,FJ带了B... 阅读全文
posted @ 2014-07-30 00:03 zhber 阅读(401) 评论(0) 推荐(0) 编辑