摘要: F. Xor-Paths time limit per test 3 seconds memory limit per test 256 megabytes input standard input output standard output There is a rectangular grid 阅读全文
posted @ 2018-11-01 17:50 安月冷 阅读(1240) 评论(0) 推荐(0) 编辑
摘要: D. Don't fear, DravDe is kind time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output A motorcad 阅读全文
posted @ 2018-11-01 16:41 安月冷 阅读(205) 评论(0) 推荐(0) 编辑
摘要: P2210 Haywire 题目描述 Farmer John有N只奶牛,(4 <= N <= 12,其中N是偶数). 他们建立了一套原生的系统,使得奶牛与他的朋友可以通过由干草保护的线路来进行对话交流. 每一头奶牛在这个牧场中正好有3个朋友,并且他们必须把自己安排在一排干草堆中. 一条长L的线路要占 阅读全文
posted @ 2018-11-01 14:54 安月冷 阅读(299) 评论(0) 推荐(0) 编辑
摘要: 4800: [Ceoi2015]Ice Hockey World Championship Description 有n个物品,m块钱,给定每个物品的价格,求买物品的方案数。 有n个物品,m块钱,给定每个物品的价格,求买物品的方案数。 Input 第一行两个数n,m代表物品数量及钱数 第二行n个数, 阅读全文
posted @ 2018-11-01 11:00 安月冷 阅读(243) 评论(0) 推荐(0) 编辑
摘要: 2679: [Usaco2012 Open]Balanced Cow Subsets Description Farmer John's owns N cows (2 <= N <= 20), where cow i produces M(i) units of milk each day (1 < 阅读全文
posted @ 2018-11-01 09:14 安月冷 阅读(247) 评论(0) 推荐(0) 编辑