![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
其他
JOY酷酷
这个作者很懒,什么都没留下…
展开
-
LeetCode 675. Cut Off Trees for Golf Event(宽搜)
题目链接https://leetcode.com/problems/cut-off-trees-for-golf-event/题意给出一个 n * m 的地图,其中有包括树和障碍。从(0,0)开始出发,在避开障碍的情况下,需要按照树的高度从矮到高依次到达,问一共最少需要多少步。无法依次达到,则输出 -1。思路先对地图中的树的高度进行排序,得到总的路径。对于路径中的每一个节点,将问...原创 2020-01-27 00:01:10 · 138 阅读 · 0 评论 -
20150419武大邀请赛之网络赛 B - Magic
DescriptionHere are n numbers.You have a magic : first , you choose a interval [l,r],and then each Si(l<=i<=r) will be ( 10 – Si ) % 10.You can use the magic at most once to make sum of all t...原创 2015-04-21 22:37:30 · 375 阅读 · 0 评论 -
20150419武大邀请赛之网络赛 H - Things after school
DescriptionAlice, Fzz’s daughter is a primary school student. Fzz loves his daughter so much that he drives to school every day exactly on time when the school day is over, which means when Fzz arriv...原创 2015-04-21 22:34:27 · 487 阅读 · 0 评论 -
20150419武大邀请赛之网络赛 D - Sloth's Angry
DescriptionA forest is full of sloths, they are so eager for tree leaves and as a result, very angry.We assume that the forest is a map of N * M grids, and each of the gird is an empty land or conta...原创 2015-04-21 22:31:03 · 436 阅读 · 0 评论 -
20150419武大邀请赛之网络赛 F - Subtract
DescriptionThe number A is connected by n numerical digit a1a2a3a4……an.You can separate it into two parts as a1a2a3..ak and ak+1ak+2…an and subtract the smaller one from the bigger one to get the nu...原创 2015-04-20 22:58:31 · 384 阅读 · 0 评论 -
Visual Stdio 2015打包安装项目的方法(使用Visual Studio Installer)
首先在官网下载VS2015的Visual Studio Installer1.创建安装项目里面最左侧的框框有三个文件夹1.“应用程序文件夹”即"Application Folder"表示要安装的应用程序需要添加的文件;2.“用户的‘程序’菜单”即"User's Programs Menu"表示:应用程序安装完,用户的“开始菜单”中的显示的内容,一般在这个文件夹中转载 2017-05-31 21:03:16 · 27798 阅读 · 8 评论 -
HDU 1560 DNA sequence(状压+搜索)
DescriptionThe twenty-first century is a biology-technology developing century. We know that a gene is made of DNA. The nucleotide bases from which DNA is built are A(adenine), C(cytosine), G(guanin原创 2016-08-18 11:06:06 · 500 阅读 · 0 评论 -
HDU 5795 A Simple Nim(博弈)
Problem DescriptionTwo players take turns picking candies from n heaps,the player who picks the last one will win the game.On each turn they can pick any number of candies which come from the same h原创 2016-08-05 13:13:57 · 272 阅读 · 0 评论 -
CodeForces 699B One Bomb(暴力)
You are given a description of a depot. It is a rectangular checkered field of n × m size. Each cell in a field can be empty (".") or it can be occupied by a wall ("*").You have one bomb. If you l原创 2016-07-20 11:34:46 · 408 阅读 · 0 评论 -
20150728多校第三场1004 - Painter
Problem DescriptionMr. Hdu is an painter, as we all know, painters need ideas to innovate , one day, he got stuck in rut and the ideas dry up, he took out a drawing board and began to draw casually.原创 2015-07-28 23:40:13 · 575 阅读 · 0 评论 -
20150426校赛总结
想要对昨天的校赛做一点总结。比赛之前我就觉得很虚,可能是一直在做组队赛让我对个人赛觉得没把握了,还有就是一些人总是黑我啦,说我很厉害什么的,每次听到这些都让我很害怕,让我害怕自己失败的那一天别人的想法。 当我前三个小时还没做出一道题的时候,orz,我已经不敢再想我当时的心情了!当时真是心浮气躁,连签到题都做不出来,交一发WA一发,已经没有心思好好看题,我甚至在想这次可能会爆零吧,原创 2015-04-27 16:26:50 · 461 阅读 · 1 评论 -
CodeForces 691C Exponential notation(模拟)
题目:http://codeforces.com/problemset/problem/691/C题意:将一个数转化成科学计数法的形式关键是要化繁为简。#include #include #include #include #include #include #include #include using namespace std;char s原创 2016-07-19 11:35:52 · 361 阅读 · 0 评论 -
最少拦截系统(贪心)
Description某国为了防御敌国的导弹袭击,发展出一种导弹拦截系统.但是这种导弹拦截系统有一个缺陷:虽然它的第一发炮弹能够到达任意的高度,但是以后每一发炮弹都不能超过前一发的高度.某天,雷达捕捉到敌国的导弹来袭.由于该系统还在试用阶段,所以只有一套系统,因此有可能不能拦截所有的导弹.怎么办呢?多搞几套系统呗!你说说倒蛮容易,成本呢?成本是个大问题啊.所以俺就到这里来求救了,请帮助原创 2015-04-15 22:17:43 · 392 阅读 · 0 评论