When ambition ends, happiness begins. 野心消亡之日,正是快乐破茧之时。 If I don't have the wish to be a useful man, I wouldn't be so depressed. I find I am not happy ...
分类:
其他好文 时间:
2016-11-19 02:38:07
阅读次数:
124
题目链接:hdu_5314_Happy King 题意: 给出一颗n个结点的树,点上有权值; 求点对(x,y)满足x!=y且x到y的路径上最大值与最小值的差<=D; 题解: 还是树的点分治,在统计答案的时候先按到根的最小值排序,然后用最大值减D去找有多少个满足答案。 1 #include<bits/ ...
分类:
移动开发 时间:
2016-11-17 23:49:57
阅读次数:
199
/*you are sunshine, my only sunshine, you make me happy when skies are grey. you'll never know dear , how much i love you. please don't take my sunshi ...
分类:
其他好文 时间:
2016-11-13 09:28:59
阅读次数:
204
第一:一个个赋值 比如c[0],c[1] 或c[]={'a','b','c'}; 第二:初始化的时候整个赋值 char c[]={"i am happy"}; # include<stdio.h>int main(){ char c[29]={"sbTUURU"}; gets(c); //gets会 ...
分类:
编程语言 时间:
2016-11-12 02:08:15
阅读次数:
235
Ok, in my family, there are seven people including my father, mother, three sisters, one brother and I. You know, it is a very big and happy family. T ...
分类:
其他好文 时间:
2016-11-07 09:37:40
阅读次数:
224
Problem: Write an algorithm to determine if a number is "happy". A happy number is a number defined by the following process: Starting with any positi ...
分类:
移动开发 时间:
2016-11-03 09:51:54
阅读次数:
261
更新了xcode8.0后发现常用的注释插件VVDocumenter无法像以往那样使用了,然后去github查看了下,原来是被Apple采用,融合到XCODE中了,对于苹果和该插件的开发者都是一个happy ending! 恭喜!新的使用方法为:option+command+/(注意:光标在文档空白处 ...
分类:
其他好文 时间:
2016-11-01 14:38:48
阅读次数:
174
今天又有人生日耶,鹏哥和骥哥两兄弟,Happy Birthday 开始听到这件事,我傻逼的想了一下,咦,这两人这么有缘,同一天生日。。。脑抽了。。。 小胖犇极缓音调来了首烟花易冷,劲啊! 发张什么图呢?烟花。。。恩。。。 ...
分类:
其他好文 时间:
2016-10-31 00:32:15
阅读次数:
132
借助GitHub托管你的项目代码 PS:话说自己注册了GitHub都很久了,却没有怎么去弄,现在系统学习一下,也把自己的学习经历总结下来share给大家,希望大家都能把GitHub用起来,把你的项目代码happy地托管起来! 一、基本概念 1.1 必须了解的概念 (1)仓库 - Repository ...
分类:
其他好文 时间:
2016-10-26 22:32:36
阅读次数:
244
1、题目描述 请实现一个函数,将一个字符串中的空格替换成“%20”。例如,当字符串为We Are Happy.则经过替换之后的字符串为We%20Are%20Happy。 2、代码实现 ...
分类:
其他好文 时间:
2016-10-14 09:37:15
阅读次数:
135