Problem
After years of study, scientists at Google Labs have discovered an alien language transmitted from a faraway planet. The alien language is very unique in that every word consists of exactly L...
分类:
其他好文 时间:
2014-10-17 01:17:53
阅读次数:
392
1.What exactly does 'agile' mean? 1)Agile software development does not means a invariable mode of progeramming, rather, it plays a directing and gui....
分类:
其他好文 时间:
2014-10-16 01:45:41
阅读次数:
180
Given an array of words and a length L, format the text such that each line has exactly L characters and is fully (left and right) justified.You shoul...
分类:
其他好文 时间:
2014-10-14 07:58:57
阅读次数:
237
题目链接 请猛戳~ Description Given a n × n matrix A and a positive integer k, find the sum S = A + A2 + A3 + … + Ak. Input The input contains exactly one tes...
分类:
其他好文 时间:
2014-10-12 16:44:58
阅读次数:
199
Beautiful People
Time Limit: 5 Seconds Memory Limit: 32768 KB Special Judge
The most prestigious sports club in one city has exactly N members. Each of its members is strong and beauti...
分类:
其他好文 时间:
2014-10-02 14:10:43
阅读次数:
180
1 //Accepted 804 KB 40 ms 2 //整个题,都是坑 3 //1.The first line of each data set contains exactly one integer n, 4 //1 9 #include 10 #include...
分类:
其他好文 时间:
2014-09-25 22:14:17
阅读次数:
260
Given an array of words and a length L, format the text such that each line has exactly L characters and is fully (left and right) justified.
You should pack your words in a greedy approach; that is,...
分类:
其他好文 时间:
2014-09-17 15:18:52
阅读次数:
201
You are given a string, S, and a list of words, L, that are all of the same length. Find all starting indices of substring(s) in S that is a concatenation of each word in L exactly once and without an...
分类:
其他好文 时间:
2014-09-15 14:22:39
阅读次数:
222
【leetcode】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 have exactly one solution....
分类:
其他好文 时间:
2014-09-15 10:06:18
阅读次数:
192
You are given a string, S, and a list of words, L, that are all of the same length. Find all starting indices of substring(s) in S that is a concatenation of each word in L exactly once and without an...
分类:
其他好文 时间:
2014-09-13 09:27:24
阅读次数:
202