I am so happy and grateful now that: I am happy and glad every day; life is full of joy,full of energy all the wake time; I have plenty of free money ...
分类:
其他好文 时间:
2016-08-12 19:53:09
阅读次数:
122
今天校内测 由于忽视了后效性的问题,很happy地爆炸了 然后就华华丽丽地炸掉了树形dp。。AK→220 然后悲剧的想到因为没有消掉后效性而炸掉的dp题好像不是第一个了QAQ 所以这波就讲关于dp中消除后效性的问题 dp中有一个很重要的问题就要保证无后效性,在状态转移的过程中非常关键 简单说,后效性 ...
分类:
其他好文 时间:
2016-08-12 17:56:32
阅读次数:
218
2015年11月,从上海辞职回到家乡工作,刚开始回来,各种不适应,不适应武汉的交通,堵的内心崩溃,但我还是坚持下来。回到这里,前一个月是最痛苦的时候,记得2012年去上海时,刚开始也是不适应,各种担心,当时担心很怕不能在一个城市生存下来,事实证明,只有努力付出,总会..
分类:
其他好文 时间:
2016-08-10 23:06:00
阅读次数:
263
Heavy Transportation
Time Limit: 3000MS
Memory Limit: 30000K
Total Submissions: 29765
Accepted: 7944
Description
Background
Hugo Heavy is happy. After the breakdo...
分类:
其他好文 时间:
2016-08-10 16:17:43
阅读次数:
149
题目描述: 请实现一个函数,将一个字符串中的空格替换成“%20”。例如,当字符串为We Are Happy.则经过替换之后的字符串为We%20Are%20Happy。 分析: 思路一:从左向右扫描字符串替换 一个字符替换为三个 每遇到一个空格,空格后面所有字符向右移动两个位置 字符串长度为n, 对每 ...
分类:
其他好文 时间:
2016-08-10 16:07:58
阅读次数:
126
题目描述 请实现一个函数,将一个字符串中的空格替换成“%20”。例如,当字符串为We Are Happy.则经过替换之后的字符串为We%20Are%20Happy。 思路: 替换空格,先遍历一遍记录字符串中空格数量,算出替换后字符串长度,从后往前替换。 1 //length为牛客系统规定字符串输出的 ...
分类:
其他好文 时间:
2016-08-10 12:34:05
阅读次数:
104
DescriptionBackground
Hugo Heavy is happy. After the breakdown of the Cargolifter project he can now expand business. But he needs a clever man who tells him whether there really is a way from the pl...
分类:
其他好文 时间:
2016-08-09 19:09:46
阅读次数:
174
Heavy Transportation
Time Limit: 3000MS
Memory Limit: 30000K
Total Submissions: 29682
Accepted: 7919
Description
Background
Hugo Heavy is happy. After the breakdo...
分类:
其他好文 时间:
2016-08-08 14:39:30
阅读次数:
150
Description New Year is Coming! ailyanlu is very happy today! and he is playing a chessboard game with 8600. The size of the chessboard is n*n. A ston ...
分类:
其他好文 时间:
2016-08-04 09:08:29
阅读次数:
240