码迷,mamicode.com
首页 >  
搜索关键字:times    ( 2480个结果
9.3
Question:Given a sorted array of n integers that has been rotated an unknown number of times, give an O(log n) algorithm that finds an element in the ...
分类:其他好文   时间:2014-11-14 01:30:09    阅读次数:118
Binary String Matching
描述Given two strings A and B, whose alphabet consist only ‘0’ and ‘1’. Your task is only to tell how many times does A appear as a substring of B? For ...
分类:其他好文   时间:2014-11-13 20:39:39    阅读次数:139
[ACM] HDU 3398 String (从坐标0,0走到m,n且不能与y=x-1相交的方法数,整数唯一分解定理)
String Problem Description Recently, lxhgww received a task : to generate strings contain '0's and '1's only, in which '0' appears exactly m times, '1' appears exactly n times. Also, any prefix ...
分类:其他好文   时间:2014-11-11 21:10:17    阅读次数:520
Bubble Sort
We have 8 numbers. Sort as ascend.1st loop, we compare 7 times (for 8 numbers), and found the largest 8.2nd loop, we compare 6 times (for 7 numbers), ...
分类:其他好文   时间:2014-11-09 12:24:42    阅读次数:184
Dreamweaver 扩展开发:C-level extensibility and the JavaScript interpreter
The C code in your library must interact with the Dreamweaver JavaScript interpreter at the following different times:At startup, to register the libr...
分类:编程语言   时间:2014-11-08 00:50:09    阅读次数:249
Linux查看日志命令
cd /dd1/logls auto-2014-11-05.*.logtail -f auto-2014-11-05.1.logmore auto-2014-11-05.*.log | grep -E 'UPDATE member SET res_times=' > ddd7.logmore aut...
分类:系统相关   时间:2014-11-06 12:56:49    阅读次数:143
ECSTORE2.0 下载 (变量标签)
条目用途备注coupon.mc.use_times优惠券可用次数-security.guest.enabled是否支持非会员购物-site.versionversion的最后修改时间-site.dateFormat商店日期格式-site.timeFormat商店日期时间格式-site.coupon_...
分类:其他好文   时间:2014-11-05 18:58:34    阅读次数:464
NOIP模拟·20141105题解
【A、韩信点兵】 结论题+模板题,用到了中国剩余定理,维基百科上讲的就比较详细,这里就不再赘述了…… 对于这题,我们先利用中国剩余定理($x \equiv \sum{a_i \times m_i (m_i^{-1} \mod p_i)}\, \mod (\prod{p_i})$)找到当前人数...
分类:其他好文   时间:2014-11-05 14:30:45    阅读次数:276
后缀表达式(栈)
后缀表达式 Time Limit : 3000/1000ms (Java/Other)   Memory Limit : 65535/32768K (Java/Other) Total Submission(s) : 0   Accepted Submission(s) : 0 Font: Times New Roman | Verdana | Georgia Font Size: ← →...
分类:其他好文   时间:2014-11-03 13:05:17    阅读次数:163
Binary String Matching
Binary String Matching描述Given two strings A and B, whose alphabet consist only ‘0’ and ‘1’. Your task is only to tell how many times does A appear as ...
分类:其他好文   时间:2014-11-02 16:09:51    阅读次数:151
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!