A n * m grid as follow:
Count the number of triangles, three of whose vertice must be grid-points.
Note that the three vertice of the triangle must not be in a line(the right picture is not a...
分类:
其他好文 时间:
2014-10-31 22:20:02
阅读次数:
264
Give you three sequences of numbers A, B, C, then we give you a number X. Now you need to calculate if you can find the three numbers Ai, Bj, Ck, whic...
分类:
其他好文 时间:
2014-10-30 20:42:05
阅读次数:
139
# Surprisingly there are only three numbers that can be written as the sum of fourth powers of their digits:# 1634 = 14 + 64 + 34 + 44# 8208 = 84 + 24...
分类:
编程语言 时间:
2014-10-30 18:40:45
阅读次数:
183
The three-by-three array in Figure 1 is a maze. A standard six-sided die is needed to traverse the maze (the layout of a standard six--sided die is shown in Figure 2). Each maze has an initial positio...
分类:
其他好文 时间:
2014-10-30 17:15:04
阅读次数:
278
【题目】
Given an array S of n integers, find three integers in S such that the sum is closest to a given number, target. Return the sum of the three integers. You may assume that each input would ha...
分类:
编程语言 时间:
2014-10-30 17:02:57
阅读次数:
249
问题描述:
Given an array of integers, every element appears three times except for one. Find that single one.
Note:
Your algorithm should have a linear runtime complexity. Could you implement it ...
分类:
其他好文 时间:
2014-10-30 11:52:50
阅读次数:
256
感觉学了后面,总结前面都好简单哦,哈哈这章就是著名的 if 结构;(选择结构一)一:如果,就小括号里的条件为 真 (true)时,才跳入到下面嘛块; if( 条件){ //代码块 }基本if选择结构:可以处理单一或组合条件的情况。二:如果,否则小括号里的条件为 真 (true)时,才跳入到下...
分类:
其他好文 时间:
2014-10-29 21:18:20
阅读次数:
172
Part I. The CV ReviewPass the CV to THREE developersEach dev should mark YES/NO on the CVReject any CVs with TWO No'sPart II. The Phone Interview1. Wh...
分类:
其他好文 时间:
2014-10-29 19:09:12
阅读次数:
222
Real-Time SQL Monitoring reports are available from three locations:
Enterprise Manager - Click the "Performance" tab, then the "SQL Monitoring" link at the bottom-right of the page to display the ...
分类:
数据库 时间:
2014-10-29 13:00:59
阅读次数:
350
Delphi 正则表达式语法(8): 引用子表达式 - 也叫反向引用//准备: 我们先写一个搜索所有英文单词的表达式var reg: TPerlRegEx;begin reg := TPerlRegEx.Create(nil); reg.Subject := 'one two three four ...