A + B Again
Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 14940 Accepted Submission(s): 6509
Problem Description
There must be man...
分类:
其他好文 时间:
2014-07-29 14:43:18
阅读次数:
310
Buy Tickets
Time Limit: 4000MS Memory Limit: 65536K
Total Submissions: 12734 Accepted: 6292
Description
Railway tickets were difficult to buy around the Lunar New Year in China, so we must...
分类:
其他好文 时间:
2014-07-28 00:08:59
阅读次数:
399
Description
Mr.Dog was fired by his company. In order to support his family, he must find a new job as soon as possible. Nowadays, It's hard to have a job, since there are swelling numbers of the...
分类:
其他好文 时间:
2014-07-27 23:57:39
阅读次数:
630
Setup SlackHold SlackRecovery&RemovalRecovery: The minimum time an asynchronous signal must be stable BEFORE clock edgeRemoval : The minimum time an a...
分类:
其他好文 时间:
2014-07-27 23:08:50
阅读次数:
443
终于知道国足多么不容易只要打平就能晋级是说的简单。。
傻逼了,开始没看懂题弄了什么净胜球。。。
直接开搞。
第一个数要输出自己最小的进球 must晋级 0 30 就只能输出30
第二个数要输出自己最大的进球 对方may晋级 30 0 就只能输出30
#include
#include
int main()
{
char s[222];
int a,b,t;...
分类:
其他好文 时间:
2014-07-27 11:43:34
阅读次数:
205
蛮常见一道题目。
思路:
1:排序,按顺序遍历两个数之和twoSum,
2: 二分查找 (0 - twoSum)看是否存在
这题最容易错的地方是must not contain duplicate triplets,所以遍历的这时候要用一个数字记录最后一个遍历的数字是,避免重复。
#include
#include
#include
using namespace s...
分类:
其他好文 时间:
2014-07-27 11:26:22
阅读次数:
260
07-11 13:43:26.184: E/AndroidRuntime(10229): FATAL EXCEPTION: main07-11 13:43:26.184: E/AndroidRuntime(10229): java.lang.RuntimeException: Unable to s...
分类:
移动开发 时间:
2014-07-27 10:58:12
阅读次数:
264
题目:Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.The brackets must close in t....
分类:
编程语言 时间:
2014-07-26 09:53:27
阅读次数:
254
题目:Given a singly linked list L: L0→L1→…→Ln-1→Ln,reorder it to: L0→Ln→L1→Ln-1→L2→Ln-2→…You must do this in-place without altering the nodes' values.F....
分类:
编程语言 时间:
2014-07-26 09:51:47
阅读次数:
215
Subsets IIGiven a collection of integers that might contain duplicates,S, return all possible subsets.Note:Elements in a subset must be in non-descend...
分类:
其他好文 时间:
2014-07-26 01:40:06
阅读次数:
178