Dungeon Master
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 16437
Accepted: 6386
Description
You are trapped in a 3D dungeon and need to find the quicke...
分类:
其他好文 时间:
2014-07-31 13:26:56
阅读次数:
352
Lush will jointly submit another typical female bank account and then sell them confidence. Though really only need your brand new type of deliveries ...
分类:
其他好文 时间:
2014-07-31 12:55:16
阅读次数:
307
Problem DescriptionGive 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 numbe...
分类:
其他好文 时间:
2014-07-31 12:54:46
阅读次数:
704
I NEED A OFFER!
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 15669 Accepted Submission(s): 6210
Problem Description
Speakless很早就想...
分类:
其他好文 时间:
2014-07-30 17:42:14
阅读次数:
219
转载请注明出处:http://blog.csdn.net/ns_code/article/details/26092725 剑指offer上的第24题,主要考察递归思想,九度OJ上AC。题目描写叙述:输入一个整数数组,推断该数组是不是某二叉搜索树的后序遍历的结果。假设是则输出Yes,否则输出No。....
分类:
其他好文 时间:
2014-07-29 13:33:08
阅读次数:
228
DescriptionThe Happy Desert is full of sands. There is only a kind of animal called camel living on the Happy Desert. ‘Cause they live here, they need...
分类:
其他好文 时间:
2014-07-28 23:44:04
阅读次数:
329
lazy标记
Time Limit:5000MS Memory Limit:131072KB 64bit IO Format:%I64d & %I64u
Submit Status
Description
You have N integers, A1, A2, ... , AN. You need to deal with two kin...
分类:
其他好文 时间:
2014-07-28 15:53:03
阅读次数:
276
题目: 输入一个整型数组, 数组里有正数也有负数. 数组中的一个或连续的多个整数组成一个子数组. 求所有子数组的和的最大值. 要求时间复杂度为O(n)#include int maxsum_subarray(int a[], int n){ if( a==NULL || n curmax ) ...
分类:
其他好文 时间:
2014-07-28 15:27:13
阅读次数:
203
http://acm.hdu.edu.cn/showproblem.php?pid=1203 1 #include 2 #include 3 #include 4 using namespace std; 5 6 int a[20000]; 7 double b[20000],dp[2000...
分类:
其他好文 时间:
2014-07-27 21:34:25
阅读次数:
218
题目描述:
给定一个double类型的浮点数base和int类型的整数exponent。求base的exponent次方。
输入:
输入可能包含多个测试样例。
对于每个输入文件,第一行输入一个整数T,表示测试案例的数目,接下来的T行每行输入一个浮点数base和一个整数exponent,两个数中间用一个空格隔开。
输出:
对应每个测试案例,
...
分类:
其他好文 时间:
2014-07-27 11:55:23
阅读次数:
189