摘要: Increasing Speed Limits Problem Description You were driving along a highway when you got caught by the road police for speeding. It turns out that th 阅读全文
posted @ 2017-03-02 22:20 勿忘初心0924 阅读(242) 评论(0) 推荐(0) 编辑
摘要: 方格取数(2) Problem Description 给你一个m*n的格子的棋盘,每个格子里面有一个非负数。从中取出若干个数,使得任意的两个数所在的格子没有公共边,就是说所取数所在的2个格子不能相邻,并且取出的数的和最大。 Input 包括多个测试实例,每个测试实例包括2整数m,n和m*n个非负数 阅读全文
posted @ 2017-03-02 13:27 勿忘初心0924 阅读(455) 评论(0) 推荐(0) 编辑