题目: Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length. Do not allocate extra spac ...
分类:
其他好文 时间:
2017-07-03 17:23:39
阅读次数:
240
A Time Limit: 60ms Memory limit: 65536K 有疑问?点这里^_^ 题目描写叙述 给出n(1<= n && n <= 2*10^6)个字符串,每一个字符串仅仅包括小写英文字母。且最多有五个。问这n个字符串中出现次数最多的有多少个。 输入 单组输入。第一行输入一个数字 ...
分类:
其他好文 时间:
2017-07-03 11:54:53
阅读次数:
175
268. Missing Number Total Accepted: 31740 Total Submissions: 83547 Difficulty: Medium Given an array containing n distinct numbers taken from 0, 1, 2, ...
分类:
其他好文 时间:
2017-07-01 10:53:05
阅读次数:
175
题目1001:A+B for Matrices 时间限制:1 秒 内存限制:32 兆 特殊判题:否 提交:22974 解决:9099 题目描述: This time, you are supposed to find A+B where A and B are two matrices, and t ...
分类:
其他好文 时间:
2017-06-30 19:55:42
阅读次数:
122
旅行 Time Limit: 1000 MS Memory Limit: 32768 K Total Submit: 18(6 users) Total Accepted: 3(3 users) Rating: Special Judge: No Description “04.24,和Sakura ...
分类:
编程语言 时间:
2017-06-30 19:52:05
阅读次数:
193
题目1042:Coincidence 时间限制:1 秒 内存限制:32 兆 特殊判题:否 提交:4045 解决:2208 题目描述: Find a longest common subsequence of two strings. 输入: First and second line of each ...
分类:
其他好文 时间:
2017-06-30 19:46:03
阅读次数:
185
1251 - Forming the Council PDF (English) Statistics Forum Time Limit: 2 second(s) Memory Limit: 32 MB In a city there are n voters, and m people forme ...
分类:
其他好文 时间:
2017-06-30 17:29:54
阅读次数:
228
题目1131:合唱队形 时间限制:1 秒 内存限制:32 兆 特殊判题:否 提交:4948 解决:1570 题目描述: N位同学站成一排,音乐老师要请其中的(N-K)位同学出列,使得剩下的K位同学不交换位置就能排成合唱队形。合唱队形是指这样的一种队形:设K位同学从左到右依次编号为1, 2, …, K ...
分类:
其他好文 时间:
2017-06-30 12:20:59
阅读次数:
123
题目1112:拦截导弹 时间限制:1 秒 内存限制:32 兆 特殊判题:否 提交:5218 解决:2603 题目描述: 某国为了防御敌国的导弹袭击,开发出一种导弹拦截系统。但是这种导弹拦截系统有一个缺陷:虽然它的第一发炮弹能够到达任意的高度,但是以后每一发炮弹都不能高于前一发的高度。某天,雷达捕捉到 ...
分类:
其他好文 时间:
2017-06-30 11:09:58
阅读次数:
151
下决心AC全部剑指offer面试题。 九度OJ面试题地址:http://ac.jobdu.com/hhtproblems.php 书籍:何海涛——《剑指Offer:名企面试官精讲典型编程题》 对于面试题,面试官往往更希望我们能提出优化方法,这样更能体现我们的思维能力以及传说中的“内功”。所以做剑指o ...
分类:
编程语言 时间:
2017-06-30 00:00:33
阅读次数:
278