2014年10月14日

【二分答案】【POJ3122】【Northwestern Europe 2006】Pie

摘要: Pie Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 10629 Accepted: 3744 Special Judge Description My birthday is comin... 阅读全文

posted @ 2014-10-14 23:45 DDUPzy 阅读(212) 评论(0) 推荐(0) 编辑

【二分答案】 【POJ3497】 【Northwestern Europe 2007】 Assemble 组装电脑

摘要: Assemble Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 3171 Accepted: 1013 Description Recently your team noticed that ... 阅读全文

posted @ 2014-10-14 22:32 DDUPzy 阅读(203) 评论(0) 推荐(0) 编辑

【巧妙算法系列】【UVA 11384】 Help is needed for Dexter 正整数序列

摘要: Help is needed for Dexter Time Limit: 3 Second Dexter is tired of Dee Dee. So he decided to keep Dee Dee busy in a game. The game he planned for... 阅读全文

posted @ 2014-10-14 19:55 DDUPzy 阅读(188) 评论(0) 推荐(0) 编辑

【巧妙算法系列】【Uva 11464】 - Even Parity 偶数矩阵

摘要: 偶数矩阵(Even Parity, UVa 11464) 给你一个n×n的01矩阵(每个元素非0即1),你的任务是把尽量少的0变成1,使得每个元素的上、下、左、右的元素(如果存在的话)之和均为偶数。比如,如图1-6(a)所示的矩阵至少要把3个0变成1,最终如图1-6(b)所示,才能保证其为偶... 阅读全文

posted @ 2014-10-14 19:24 DDUPzy 阅读(561) 评论(0) 推荐(0) 编辑

导航