题目描述Give you a string S,assume the Sub-String Stri
= S[0..i] and the length of the string is N. e.g. S = "moreandmorecold", N = 15,
Str0 = "m" Str1 = ...
分类:
其他好文 时间:
2014-05-14 02:36:45
阅读次数:
314
本文为senlie原创,转载请保留此地址:http://blog.csdn.net/zhengsenlie
Same Tree
Total Accepted: 15922 Total
Submissions: 38418
Given two binary trees, write a function to check if they are equal o...
分类:
其他好文 时间:
2014-05-14 01:15:40
阅读次数:
293
So far, 100 per cent of workers have voted to
strike for 24 hours, 98 per cent voted to strike for 48 hours, and 98 per cent
voted to strike for one w...
分类:
其他好文 时间:
2014-05-13 22:04:48
阅读次数:
346
1 SolidWorks API Help 2 Create PropertyManager
Page Example (VB.NET) 3 This example shows how to create a PropertyManager page
that contains two s...
分类:
Web程序 时间:
2014-05-13 20:59:57
阅读次数:
463
本文为senlie原创,转载请保留此地址:http://blog.csdn.net/zhengsenlie
Best Time to Buy and Sell Stock
Total Accepted: 13234 Total
Submissions: 43145
Say you have an array for which the ith ele...
分类:
其他好文 时间:
2014-05-13 07:30:13
阅读次数:
276
如何计算每天的平均反复访问人数
if strdate
avgvpd=Int((usercnt)/startdate) %>
显示结果
that is it.this page have been viewed since November 10,1998...
分类:
其他好文 时间:
2014-05-13 06:31:40
阅读次数:
261
One Person Game
Time Limit: 1 Second Memory Limit: 32768 KB Special Judge
There is a very simple and interesting one-person game. You have 3 dice, namely Die1, Die2 and Die3. Die1 ha...
分类:
其他好文 时间:
2014-05-13 06:06:00
阅读次数:
357
显示7种Dialog下面是图,然后一次对应的代码实现
实现代码
new AlertDialog.Builder(AlertDialogSamples.this)
.setIcon(R.drawable.alert_dialog_icon)
.setTitle(R.string.alert_dialog_two_button...
分类:
移动开发 时间:
2014-05-13 05:47:34
阅读次数:
446
给了你n,然后n个数字在一个数组中,接下来m个询问,每个询问三个数字 t,x,y,若t==0,那么修改区间[x,y]的每一个值,变为原来每个位置上的数 开根号取整,若t==1,那么对区间[x,y]求和
由于n,m,很大,所以树状数组铁定超时,若直接用线段树来做区间修改,那么也是超时,这类题目没别的方法了,静心剪枝,发现题目给的数据范围为2^63,有没有发现,2^63开根号 绝对不需要开1...
分类:
其他好文 时间:
2014-05-12 23:01:59
阅读次数:
479
显示数据库中的存储过程__转
It's no easy trick to see stored procedures in a database programmatically with a scripting language like ASP. If you're using MS Access, you're out of luck. Access provides no way to ...
分类:
数据库 时间:
2014-05-12 22:43:25
阅读次数:
541