Invitation Cards
Time Limit: 8000MS
Memory Limit: 262144K
Total Submissions: 19527
Accepted: 6375
Description
In the age of television, not many people attend theat...
分类:
其他好文 时间:
2014-08-22 17:58:09
阅读次数:
189
1.show status like ‘max‘; ?? Threads_connected? 当前的连接数 ?? Connections? 试图连接到(不管是否成功)MySQL服务器的连接数。 ?? Max_used_connections? 服务器启动后已经同时使用的连接的最大数量...
分类:
数据库 时间:
2014-08-22 14:40:09
阅读次数:
156
The people living in large citieshave to pay more tax than people living in rural areas. That is because incities people have many facilities, which rural people don’t have. Also peoplein large and fa...
分类:
其他好文 时间:
2014-08-22 10:53:36
阅读次数:
178
??
Organizing Attributes and Operations
组织属性和操作
When drawing a class, you don’t
have to show every attribute and every operation at once. In fact, in most cases, you can’t
(there are too man...
分类:
其他好文 时间:
2014-08-21 22:50:55
阅读次数:
423
题目 Numerology is a science that is used by many people to find out a mans personality, sole purpose of life, desires to experience etc. Some calculations of numerology are very complex, while oth...
分类:
其他好文 时间:
2014-08-21 21:20:25
阅读次数:
254
悟道——一位IT高管20年的职场心经
第七章 关于销售
用“最”来形容公司的销售,可以用上若干的词汇:
最牛,最累,最精,最傻,最有钱,最贱,最能吹,最能装。。。
1.1 销售人得基本素质
善胜者不争,善争者不战,善战者不败,善败者不乱。
五勤:嘴勤、腿勤、手勤(勤读勤记)、耳目勤(多看多听)、脑勤(勤思勤省)。
能吃苦:身体之苦,巨大的心理压力。
Not too ha...
分类:
其他好文 时间:
2014-08-21 17:18:14
阅读次数:
183
Description
George took sticks of the same length and cut them randomly until all parts became at most 50 units long. Now he wants to return sticks to the original state, but he forgot how many stick...
分类:
其他好文 时间:
2014-08-21 17:10:44
阅读次数:
335
First I thought of a DP solution.. but TLE. So there must be a O(n). I thought of Mono-Queue.. but looks too complex.So what is the naive solution? O(...
分类:
其他好文 时间:
2014-08-21 14:37:54
阅读次数:
202
1A! We get median of each array and compare them, then we know which half should be disguarded and how many should be disguarded.class Solution {publi...
分类:
其他好文 时间:
2014-08-21 13:13:24
阅读次数:
191
题意:就是判断各线段之间有没有交点。
判断两线段相交,要运用到叉积。两个线段相交肯定相互跨越,假设一个条线段(p1p2),另一条是(q1q2),那么p1p2肯定在q1q2线段的两侧,那么运用叉积如果p1p2跨越q1q2的话(q1p1)x(q2p2)《= 0.同样也要验证 q1q2是不是也跨越p1p2,注意:p1p2跨越q1q2,不代两个线段相交,可能是p1p2跨越直线q1q2,所以说还是要再次判断q1q2是不是跨越p1p2
还有另外一种比较容易理解的解法:
就是如果两个线段相交,那么两线段两端端点的差即(p...
分类:
其他好文 时间:
2014-08-21 09:51:13
阅读次数:
156