摘要: Time Limit:10000ms Case Time Limit:1000ms Memory Limit:256MB Time Limit:10000ms Case Time Limit:1000ms Memory Limit:256MB Description 在图像处理的技术中,经常会用到算 阅读全文
posted @ 2016-09-04 14:37 HaruHaru 阅读(259) 评论(0) 推荐(0) 编辑
摘要: DescriptionWPH has a triangle whose three edges are of length a, b, c.He has super power to enlarge the edges, but the total length that was enlarged ... 阅读全文
posted @ 2015-11-02 13:50 HaruHaru 阅读(190) 评论(0) 推荐(0) 编辑
摘要: DescriptionTo prepare for the English exam Little Ho collected many digital reading materials. Unfortunately the materials are messed up by a malware.... 阅读全文
posted @ 2015-10-28 12:56 HaruHaru 阅读(846) 评论(0) 推荐(0) 编辑
摘要: DescriptionThere is a tower defense game with n levels(missions). The n levels form a tree whose root is level 1.In the i-th level, you have to spend ... 阅读全文
posted @ 2015-10-27 22:06 HaruHaru 阅读(231) 评论(0) 推荐(0) 编辑
摘要: DescriptionLittle Hi is studying on memory allocating algorithms this summer. He starts his experiments with a very simple algorithm. By this algorith... 阅读全文
posted @ 2015-10-27 17:33 HaruHaru 阅读(321) 评论(0) 推荐(0) 编辑
摘要: DescriptionGiven an n*n grid with non-negative integers, you start from the upper left corner (1,1) and can only move right or down.Your task is to fi... 阅读全文
posted @ 2015-10-12 19:30 HaruHaru 阅读(303) 评论(0) 推荐(0) 编辑
摘要: DescriptionLittle Hi and Little Ho are playing a construction simulation game. They build N cities (numbered from 1 to N) in the game and connect them... 阅读全文
posted @ 2015-10-12 12:19 HaruHaru 阅读(399) 评论(0) 推荐(0) 编辑
摘要: DescriptionA fancy square image encryption algorithm works as follow:0. consider the image as an N x N matrix1. choose an integer k∈ {0, 1, 2, 3}2. ro... 阅读全文
posted @ 2015-10-11 20:00 HaruHaru 阅读(209) 评论(0) 推荐(0) 编辑
摘要: DescriptionA base station has to be built on an N × M grid to serve the users in it.There are A users in the grid. The cost of serving a user is the s... 阅读全文
posted @ 2015-08-22 10:59 HaruHaru 阅读(288) 评论(0) 推荐(0) 编辑
摘要: DescriptionGiven a string, calculate the number of subsequences that are palindrome. A palindrome is a sequence of characters that reads the same back... 阅读全文
posted @ 2015-08-18 23:35 HaruHaru 阅读(307) 评论(0) 推荐(0) 编辑