本文翻译自JavaScript’s two zerosJavaScript has two zeros: ?0 and +0. This post explains why that is and where it matters in practice.JavaScript 中有两个“0”: -0...
分类:
编程语言 时间:
2014-07-24 10:18:03
阅读次数:
454
题目链接题意:给出几个基因片段,要求你将它们排列成一个最短的序列,序列中使用了所有的基因片段,而且不能翻转基因。分析:先计算出add数组,再dfs枚举。 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7...
分类:
其他好文 时间:
2014-07-23 22:11:17
阅读次数:
281
// Jakarta Commons Loggingprivate static final Log log = LogFactory.getLog(MyClass.class);The above code also shows another good practice, which is to...
分类:
其他好文 时间:
2014-07-23 12:43:46
阅读次数:
239
I - String
Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d
& %I64u
Submit Status Practice HDU
4821
Description
Given a string S and two integers L and M, we cons...
分类:
其他好文 时间:
2014-07-22 23:49:09
阅读次数:
328
跟导师请假,邮件如下:Title: Ask for leave in April 30thDear Mentor XXX:I'm requesting a leave of absence in April 30th for attending a wedding.Best regards,yyy
分类:
其他好文 时间:
2014-07-22 22:46:53
阅读次数:
180
class Solution {public: int maxProfit(vector &prices) { int len = prices.size(); if (len i2r(len, 0); vector i2l(len, 0); ...
分类:
其他好文 时间:
2014-07-22 22:34:54
阅读次数:
154
Suffix Structures
Time Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64u
Submit
Status
Practice
CodeForces 448B
Description
Bizon the Champion isn't just a bison. He also i...
分类:
其他好文 时间:
2014-07-22 22:34:14
阅读次数:
291
DZY Loves Modification
Time Limit:2000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64u
Submit
Status
Practice
CodeForces 446B
Description
As we know, DZY loves playing games. One da...
分类:
其他好文 时间:
2014-07-21 23:29:41
阅读次数:
243
Multiplication Table
Time Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64u
Submit
Status
Practice
CodeForces 448D
Description
Bizon the Champion isn't just charming, he al...
分类:
其他好文 时间:
2014-07-21 23:29:23
阅读次数:
311
C - Little Tiger vs. Deep Monkey
Time Limit:1000MS Memory Limit:65535KB 64bit IO Format:%I64d
& %I64u
Submit Status Practice HDU
4815
Description
A crowd of little animals is...
分类:
其他好文 时间:
2014-07-21 14:03:54
阅读次数:
233