摘要: 链接: https://codeforces.com/contest/1176/problem/C 题意: You are given an array a consisting of n integers. Each ai is one of the six following numbers: 阅读全文
posted @ 2019-06-10 16:56 YDDDD 阅读(367) 评论(0) 推荐(0) 编辑
摘要: 链接: https://codeforces.com/contest/1176/problem/B 题意: You are given an array a consisting of n integers a1,a2,…,an. In one operation you can choose tw 阅读全文
posted @ 2019-06-10 16:54 YDDDD 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 链接: https://codeforces.com/contest/1176/problem/A 题意: You are given an integer n. You can perform any of the following operations with this number an 阅读全文
posted @ 2019-06-10 16:51 YDDDD 阅读(360) 评论(0) 推荐(0) 编辑
摘要: 链接: https://ac.nowcoder.com/acm/contest/918/A 题意: 为了准备即将到来的蹄球锦标赛,Farmer John正在训练他的N头奶牛(方便起见,编号为1…N,其中1≤N≤100)进行传球。这些奶牛在牛棚一侧沿直线排列,第i号奶牛位于距离牛棚xi的地方(1≤xi 阅读全文
posted @ 2019-06-10 14:49 YDDDD 阅读(293) 评论(0) 推荐(0) 编辑
摘要: 链接: https://ac.nowcoder.com/acm/contest/918/J 题意: 在Farmer John最喜欢的节日里,他想要给他的朋友们赠送一些礼物。由于他并不擅长包装礼物,他想要获得他的奶牛们的帮助。你可能能够想到,奶牛们本身也不是很擅长包装礼物,而Farmer John即将 阅读全文
posted @ 2019-06-10 13:01 YDDDD 阅读(313) 评论(0) 推荐(0) 编辑
摘要: 链接: https://ac.nowcoder.com/acm/contest/918/I 题意: 一场别开生面的牛吃草大会就要在Farmer John的农场举办了! 世界各地的奶牛将会到达当地的机场,前来参会并且吃草。具体地说,有N头奶牛到达了机场(1≤N≤10^5),其中奶牛i在时间ti(0≤t 阅读全文
posted @ 2019-06-10 01:55 YDDDD 阅读(301) 评论(0) 推荐(0) 编辑
摘要: 链接: https://ac.nowcoder.com/acm/contest/918/G 题意: Bessie and her friends are playing hoofball in the annual Superbull championship, and Farmer John is 阅读全文
posted @ 2019-06-10 01:53 YDDDD 阅读(142) 评论(0) 推荐(0) 编辑
摘要: 链接: https://ac.nowcoder.com/acm/contest/918/D 题意: Bessie the cow is helping Farmer John run the USA Cow Olympiad (USACO), an on line contest where par 阅读全文
posted @ 2019-06-10 01:47 YDDDD 阅读(242) 评论(0) 推荐(0) 编辑
摘要: 链接:https://ac.nowcoder.com/acm/contest/918/B 题意: Farmer John最讨厌的农活是运输牛粪。为了精简这个过程,他制造了一个伟大的发明:便便传送门!与使用拖拉机拖着装满牛粪的大车从一个地点到另一个地点相比,他可以使用便便传送门将牛粪从一个地点瞬间传送 阅读全文
posted @ 2019-06-10 01:42 YDDDD 阅读(376) 评论(0) 推荐(0) 编辑