字符串朴素匹配法相等情况int index(const char * str1, const char * str2, int pos){ int i = pos; int j = 0; while(i = strlen(str2)) // matched and retu...
分类:
其他好文 时间:
2014-07-14 09:00:51
阅读次数:
176
链接:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=967描述:要做n双鞋子,第 i 双鞋子要做Ti天,每天消耗Si的钱(当前正在做第 i 双鞋子时不耗钱)...
分类:
其他好文 时间:
2014-07-14 08:26:03
阅读次数:
201
Directive指令直接上实例index.html Drag ME I am Directive script.js:var dragDir=angular.module('drag', []);dragDir.directive("enter", fu...
分类:
Web程序 时间:
2014-07-14 08:18:59
阅读次数:
303
uvaLive3938:https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=1939题意:给你n个数,然后给你一个区间,让你查询这个区间内最大和连...
分类:
其他好文 时间:
2014-07-14 08:18:20
阅读次数:
266
写css z-index的时候经常会出现很多莫名其妙的问题,下面对z-index属性做彻底的剖析,本文参考了《一个css中z-index的用法》,并做了很多demo,方便了解z-index的用法.一、z-index是什么z-index属性决定了一个HTML元素的层叠级别。元素层叠级别是相对于元素在Z...
分类:
Web程序 时间:
2014-07-14 08:07:05
阅读次数:
412
for o in aa{ println(o)}for (index,value) in enumerate(aa){println("\(index)\(value)")}
分类:
其他好文 时间:
2014-07-14 08:04:26
阅读次数:
208
1.返回行与逻辑读的比率CREATE TABLE t as select * from dba_objects;--CREATE INDEX idx ON t (object_id);---例1alter session set statistics_level=all;set linesize 1...
分类:
数据库 时间:
2014-07-14 00:35:47
阅读次数:
369
jstl的Index.jsp: 用户评论 用户投诉 全部区域 View Codefreemark的index.html: 用户评论 用户投诉 ...
分类:
Web程序 时间:
2014-07-13 23:33:18
阅读次数:
291
uva11992:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=3143题意:给你n*m的矩阵初始化的时候矩阵里面的元素全部是0,对于这个矩阵有3中操作。1...
分类:
其他好文 时间:
2014-07-13 22:35:03
阅读次数:
286
uva12299:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=3720题意:给你n个数,然后有两个操做,shift从左到右一次交换,即a1和a2交换,完了...
分类:
其他好文 时间:
2014-07-13 21:32:18
阅读次数:
261