摘要: 最近在给搞图像去雾的师兄打杂,整理几个评价图像的指标:PSNR,MSE,SSIM,WSNR PSNR,MSE,SSIM: http://www.voidcn.com/blog/xiaohaijiejie/article/p-3086738.html PSNR,MSE: http://www.cnbl 阅读全文
posted @ 2017-05-18 19:30 IVY_BUG 阅读(1028) 评论(0) 推荐(0) 编辑
摘要: 题目大意: 用一个数组代表群山的高度。高度大的地方代表山峰,小的地方代表山谷。山谷可以容水。假设有一天下了大雨,求群山中总共可以容纳多少水? 如图所示情况,a代表该数组,总共可以容纳5个水。 解题思路: 初步想法可以枚举每一个单位,判断是否能放水。这种做法的复杂度为O(n^2*h)其中h为数组最大值 阅读全文
posted @ 2016-03-17 00:37 IVY_BUG 阅读(216) 评论(3) 推荐(0) 编辑
摘要: 1.题目描述: 2068. Game of Nuts Time limit: 1.0 secondMemory limit: 64 MB The war for Westeros is still in process, manpower and supplies are coming to an 阅读全文
posted @ 2016-03-08 15:28 IVY_BUG 阅读(300) 评论(0) 推荐(0) 编辑
摘要: 1.题目: 1180. Stone Game Time limit: 1.0 secondMemory limit: 64 MB Two Nikifors play a funny game. There is a heap of N stones in front of them. Both Ni 阅读全文
posted @ 2016-03-05 17:40 IVY_BUG 阅读(236) 评论(0) 推荐(0) 编辑
摘要: 1.题目描述: 1175. Strange Sequence Time limit: 1.0 secondMemory limit: 2 MB You have been asked to discover some important properties of one strange seque 阅读全文
posted @ 2016-03-05 16:32 IVY_BUG 阅读(251) 评论(0) 推荐(0) 编辑
摘要: 题目链接: http://soj.sysu.edu.cn/1016 题目大意: 给定一个字符串和256条规则,将某条规则应用于字符串,字符串将发生变化,给定一个数max,求出在max步内可以将字符串变为指定字符串的规则号以及步数。 题目分析:既然只有256条规则,而且步数又有限制,那我们就暴力模拟, 阅读全文
posted @ 2016-03-01 16:46 IVY_BUG 阅读(192) 评论(0) 推荐(0) 编辑
摘要: 题目描述: 1015. Jill's Tour Paths Constraints Time Limit: 1 secs, Memory Limit: 32 MB Description Every year, Jill takes a bicycle tour between two villag 阅读全文
posted @ 2016-02-28 20:24 IVY_BUG 阅读(252) 评论(0) 推荐(0) 编辑
摘要: 1002. Phone Numbers Time limit: 2.0 secondMemory limit: 64 MB In the present world you frequently meet a lot of call numbers and they are going to be 阅读全文
posted @ 2016-01-31 13:48 IVY_BUG 阅读(313) 评论(0) 推荐(0) 编辑