public class Solution { /** * @param s: The first string * @param b: The second string * @return true or false */ public boolean...
分类:
其他好文 时间:
2015-12-01 14:39:54
阅读次数:
122
Prime QueryTime Limit:1 Second Memory Limit:196608 KBYou are given a simple task. Given a sequenceA[i]withNnumbers. You have to perform Q operations o...
分类:
其他好文 时间:
2015-11-30 02:16:33
阅读次数:
211
AntTime Limit:1 Second Memory Limit:32768 KBThere is an ant named Alice. Alice likes going hiking very much. Today, she wants to climb a cuboid. The l...
分类:
其他好文 时间:
2015-11-30 02:15:36
阅读次数:
204
Problem Description=== Op tech briefing, 2002/11/02 06:42 CST === "The item is locked in a Klein safe behind a painting in the second-floor library. ....
分类:
其他好文 时间:
2015-11-28 18:11:33
阅读次数:
307
1297. Palindrome Time limit: 1.0 second Memory limit: ...
分类:
编程语言 时间:
2015-11-28 16:47:48
阅读次数:
235
B. Queries about less or equal elementsYou are given two arrays of integers a and b. For each element of the second array bj you should find the numbe...
分类:
其他好文 时间:
2015-11-28 10:27:19
阅读次数:
190
C++ 1 class Solution { 2 public: 3 /* 4 * @param a: The first integer 5 * @param b: The second integer 6 * @return: The sum of a an...
分类:
其他好文 时间:
2015-11-26 21:12:39
阅读次数:
204
类time创建的对象表示本地时间,与任何特别日期没有关系。可以通过时区tzinfo来调整时间。class datetime.time(hour=0, minute=0, second=0, microsecond=0, tzinfo=None) 所有参数都是可选的。除了tzinfo对象,其它参数都是整数表示。其中参数范围如下:l 0 l 0 l 0 l 0 当参数范围超出这些范围时,就会抛出异常V...
分类:
其他好文 时间:
2015-11-26 15:26:18
阅读次数:
193
大师级经典的著作,要字斟句酌的去读,去理解。以前在看K&R的The C Programming Language(Second Edition)中第1.5节的字符输入/输出,很迷惑getchar()和EOF的行为。因此,感觉很有必要总结一下,不然,很多琐碎的知识点长时间过 后就会淡忘的,只有写下来才...
分类:
其他好文 时间:
2015-11-26 13:05:56
阅读次数:
155