是创新,还是模仿,IT界六大巨头(google, facebook,amazon,
apple, twitter, microsoft)给出了他们的答案:Google 谷歌We’ve got to be more like apple, and
make our android phones and...
分类:
其他好文 时间:
2014-05-27 02:16:15
阅读次数:
226
5 Quick Dating Tips For
Introverts给内向的人5个约会的小建议Introverts often have a more difficult time with social
interactions than others. This is especially tr...
分类:
其他好文 时间:
2014-05-24 00:31:15
阅读次数:
449
There are N children standing in a line. Each child is assigned a rating value.
You are giving candies to these children subjected to the following requirements:
Each child must have at least one candy.
Children with a higher rating get more candies than...
分类:
其他好文 时间:
2014-05-22 11:00:49
阅读次数:
285
1 综述Separating touching objects in an image is one
of the more difficult image processing operations. The watershed transform is
often applied to this...
分类:
其他好文 时间:
2014-05-22 04:27:23
阅读次数:
497
AlienTech for better life!~...
题目:
链接:点击打开链接
题意:
给出n个直接认识的朋友,最大的直接或间接认识的朋友。
思路:
算法:
并查集,,,
代码:
#include
#include
#include
using namespace std;
#define MAXN 100010
int root[MAXN];
int member[MAXN];//表示在i结点处的,认识的...
分类:
其他好文 时间:
2014-05-21 10:59:57
阅读次数:
254
Problem Description
A tree is a well-known data structure that is either empty (null, void, nothing) or is a set of one or more nodes connected by directed edges between nodes satisfying the follow...
分类:
其他好文 时间:
2014-05-21 10:55:57
阅读次数:
325
Mac系统打开命令行终端的方法: 应用程序 --> 实用工具 -->
终端Mac系统终端查看操作系统版本号的方法:输入:#more
/System/Library/CoreServices/SystemVersion.plist.plist ProductBuildVersion ...
分类:
其他好文 时间:
2014-05-19 08:44:27
阅读次数:
254
1、
??
ZigZag Conversion
The string "PAYPALISHIRING" is
written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font for better legibili...
分类:
其他好文 时间:
2014-05-18 07:56:49
阅读次数:
407
很多时候,在正确的做一件事之前,我们总会尝试一些笨办法或者白费一些力气;很多时候,即使在正确的做一件事,但没有收到立竿见影的效果;之后,我们的内心便容易动摇,怀疑,甚至想要放弃。这就是心魔作祟。它是一个人成长道路上的最大障碍。Less
than better,少比没有好。记住这句话。至少是前进了,至...
分类:
其他好文 时间:
2014-05-17 18:20:56
阅读次数:
187