钱币兑换问题Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 5355Accepted Submission(s): 3037Problem Desc...
分类:
其他好文 时间:
2014-07-19 19:37:38
阅读次数:
221
Given a singly linked listL:L0→L1→…→Ln-1→Ln,reorder it to:L0→Ln→L1→Ln-1→L2→Ln-2→…You must do this in-place without altering the nodes' values.For exam...
分类:
其他好文 时间:
2014-07-17 00:23:27
阅读次数:
215
1.如何实现交换两个数的值void swap( int *a,int *b){int tep=*a;//*a其实就是主函数a的值,a是主函数存a数值的地址。*a =*b;*b =tep;}2.如何实现二维数组函数排序void desc( int(* a) [10] ,int i){//这样子就可以再...
分类:
其他好文 时间:
2014-07-16 19:27:27
阅读次数:
166
按照数据行数查询Select top 20 name, row_count(db_id(), id) from sysobjects order by row_count(db_id(),id) desc按照分配的空间查询Select top 20 name, reserved_pages(db_i...
分类:
数据库 时间:
2014-07-16 19:09:13
阅读次数:
274
敌兵布阵Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 40159Accepted Submission(s): 16960Problem Desc...
分类:
其他好文 时间:
2014-07-16 18:48:02
阅读次数:
186
Shoemaker's Problem
Shoemaker has N jobs (orders from customers) which he must make. Shoemaker can work on only one job in each day. For each ith job, it is known the integer Ti (1i<=1000...
分类:
其他好文 时间:
2014-07-16 17:12:33
阅读次数:
274
Children of the Candy CornDescriptionThe cornfield maze is a popular Halloween treat. Visitors are shown the entrance and must wander through the maze...
分类:
其他好文 时间:
2014-07-16 12:29:26
阅读次数:
264
Given a singly linked list L: L0→L1→…→Ln-1→Ln, reorder it to: L0→Ln→L1→Ln-1→L2→Ln-2→…You must do this in-place without altering the nodes' values.For ...
分类:
其他好文 时间:
2014-07-14 19:33:04
阅读次数:
215
转自:http://blog.csdn.net/xiaowanggedege/article/details/8651236 django模板报错: Requested setting TEMPLATE_DEBUG, but settings are not configured. You must...
分类:
其他好文 时间:
2014-07-14 16:00:46
阅读次数:
302
描述
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 space for another array, you must do this in ...
分类:
其他好文 时间:
2014-07-14 13:46:43
阅读次数:
229