There is an 8*8 chess board in which two diagnolly opposite corners have been cut off. You are given 31 dominos, and a single domino can cover exactly...
分类:
其他好文 时间:
2014-08-20 12:01:32
阅读次数:
236
Given two numbers represented as strings, return multiplication of the numbers as a string.Note: The numbers can be arbitrarily large and are non-nega...
分类:
其他好文 时间:
2014-08-20 11:57:22
阅读次数:
198
移动终端的普及,二维码的使用越来越广泛,最近小小的研究了一下QT下二维码的使用。 二维码(Two-dimensional code),又称二维条码,它是用特定的几何图形按一定规律在平面(二维方向)上分布的黑白相间的图形,是所有信息数据的一把钥匙。在现代商业活动中,可实现的应用十分广泛,如:产品防伪/...
分类:
其他好文 时间:
2014-08-20 11:45:06
阅读次数:
605
Two players, S and T, are playing a game where they makealternate moves.
S plays first.
In this game, they start with an integer N. In each move, a player removesone digit from the integer and pass...
分类:
其他好文 时间:
2014-08-20 10:28:46
阅读次数:
239
今晚再刷一题,题目如下:Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices o...
分类:
其他好文 时间:
2014-08-20 01:20:15
阅读次数:
197
Question:You are given two sorted arrays, A and B, where A has a large enough buffer at the end to hold B.Write a method to merge B into A in sorted o...
分类:
其他好文 时间:
2014-08-19 23:51:25
阅读次数:
309
Segments
Time Limit: 1000MS Memory Limit: 65536K
Total Submissions: 9564 Accepted: 2943
Description
Given n segments in the two dimensional space, write a program, which determines if ther...
分类:
其他好文 时间:
2014-08-19 19:12:15
阅读次数:
249
A technique for implementing read-copy update in a shared-memory computing system having two or more processors operatively coupled to a shared memory...
分类:
其他好文 时间:
2014-08-19 18:38:25
阅读次数:
263
1. 在本地apache下 php版本5.3.13 调用类的方法 :$res['data']=\helper::sort_two_array($res['data'],'SORT_DESC','time');//sort_two_array()方法是非静态的 是可以调用的2.但是 在nginx下.....
分类:
其他好文 时间:
2014-08-19 16:18:54
阅读次数:
164
F - 最大子矩形Time Limit:1000MS Memory Limit:10000KB 64bit IO Format:%I64d & %I64uSubmitStatusDescriptionGiven a two-dimensional array of positive and nega...
分类:
其他好文 时间:
2014-08-18 21:58:12
阅读次数:
312