码迷,mamicode.com
首页 >  
搜索关键字:string    ( 95377个结果
LR函数基础(一)
函数用到:web_reg_find()、 lr_log_message()、 lr_eval_string()、strcmp()、atoi()Action(){web_reg_find("Text=liuej", "SaveCount=para_count", LAST); //文本检查,且保存变量...
分类:其他好文   时间:2015-04-07 23:17:11    阅读次数:190
闰年检测问题
关于闰年测试的问题:条件:1.4 年一闰, 100 年不闰,400年又闰。 2. 输入年份大于0。 3. 输入只能为数字。源代码:public class leapyear extends Application { public static void main(String[] args...
分类:其他好文   时间:2015-04-07 23:10:25    阅读次数:134
SWIFT 数组
Swift数组是声明有以下几种,var countries:[String] = ["China","American","Russia"]var capitals:Array = ["Bejing","Washington","Moscow"]var fruits = ["apple","oran...
分类:编程语言   时间:2015-04-07 23:07:34    阅读次数:133
Valid Number @python
Valid NumberValidate if a given string is numeric.Some examples:"0"=>true" 0.1 "=>true"abc"=>false"1 a"=>false"2e10"=>trueNote:It is intended for the ...
分类:编程语言   时间:2015-04-07 22:58:36    阅读次数:248
javascript表单验证
1、概述 2、String对象 样例: <!DOCTYPE?html?PUBLIC?"-//W3C//DTD?XHTML?1.0?Transitional//EN"?"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html?xmlns="http://www.w3.org/1999/x...
分类:编程语言   时间:2015-04-07 21:54:41    阅读次数:147
POJ1226---Substrings(后缀数组+二分)
Description You are given a number of case-sensitive strings of alphabetic characters, find the largest string X, such that either X, or its inverse can be found as a substring of any of the given str...
分类:编程语言   时间:2015-04-07 21:52:51    阅读次数:169
SPOJ687---REPEATS - Repeats(后缀数组+RMQ)
A string s is called an (k,l)-repeat if s is obtained by concatenating k>=1 times some seed string t with length l>=1. For example, the strings = abaabaabaabais a (4,3)-repeat with t = aba as its seed...
分类:编程语言   时间:2015-04-07 21:48:36    阅读次数:170
动态规划求解最长公共子序列
#includeusing namespace std;void Print_LCS(int **b, string X, int i, int j){ if (i == 0 || j == 0) return; if (b[i][j] == 1) { ...
分类:其他好文   时间:2015-04-07 21:31:26    阅读次数:114
RandomAccessFile的使用
package com.lk.C;import java.io.IOException;import java.io.RandomAccessFile;public class RandomAccessFileDemo { public static void main(String[] ar...
分类:数据库   时间:2015-04-07 21:27:57    阅读次数:185
整数类型
例如:public static void main(String[] args) { byte b1 = 3; byte b2 = b1 + 6; // 编译器报错,原因类型转换错误,上面讲到整数字面量是int类型,所以3是int类型,b1+6计算结果也为int类型 ...
分类:其他好文   时间:2015-04-07 21:27:39    阅读次数:123
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!