Given a string S and a string T, count the number of distinct subsequences of T in S.
A subsequence of a string is a new string which is formed from the original string by deleting some (can be non...
分类:
编程语言 时间:
2015-03-13 10:57:15
阅读次数:
188
1 Intent.ACTION_MAIN
String: android.intent.action.MAIN
标识Activity为一个程序的开始。比较常用。
Input:nothing
Output:nothing
activity android:name=".Main" android:label="@string/app_name">
inten...
分类:
移动开发 时间:
2015-03-13 10:55:22
阅读次数:
168
Python语言中的五种基本的对象类型字符串(string)简记str使用“”或者‘’括起来的一系列字符整数简记int浮点数float布尔数简记bool复数字符type用来查看数据的类型元组不允许二次赋值Python的数据类型转换List的倒叙访问,从-1开始对里list中的元素替换直接对元素重.....
分类:
编程语言 时间:
2015-03-13 10:42:26
阅读次数:
135
/// /// BinaryFormatter序列化 /// /// 对象 public static string ToBinary(T item) { BinaryFormatter formatter = new BinaryFormat...
--来自新松的说明书//创建交叉表CreateCrossTable(Table,Cross,Where,Left,Top,Mid,LeftAs,TopNullAs,MidAs,SumAs,TopSep,LeftSort,TopSort:string);1.07 实例:CreateCrossDataS...
分类:
其他好文 时间:
2015-03-13 10:37:26
阅读次数:
122
最近总用Java读取文件,发现了一种我个人觉得比较好的方法,现在分享给大家public static void main(String[] args) throws Exception { FileInputStream f = new FileInputStream("文件路径"...
分类:
编程语言 时间:
2015-03-13 10:33:57
阅读次数:
176
过了一遍基础视频,发现有一些最基本的知识点还掌握的不够,汇总如下:1) 占位符1 string name = "张三";2 int age = 28;3 decimal salary = 7600.33M;4 int number = 1000;5 6 Console.Writeline("我叫{....
usingSystem;
usingSystem.Collections.Generic;
usingSystem.Linq;
usingSystem.Text;
usingSystem.Threading.Tasks;
//Singleton设计模式(单实例)
namespaceConsoleApplication6
{
classProgram
{
staticvoidMain(string[]args)
{
//案例:
Singletons=Singleton.getSinglet..
分类:
其他好文 时间:
2015-03-13 02:02:55
阅读次数:
132
/**接收用户输入的一个字符并判断其是字母还是数字,*或者是其它字符,判断后输出相应的判定结果**/importjava.io.*;
publicclassFirstProgram
{
publicstaticvoidmain(String[]args)
{
charc=‘‘;
System.out.print("Enteracharacterplease:");
try
{
c=(char)Sys..
分类:
编程语言 时间:
2015-03-13 02:02:33
阅读次数:
118
/**编写一个接受用户输入的三个整数作为立方体的三边,*计算并输出这个立方体的表面积和体积**/importjava.util.*;
publicclassFirstProgram
{
publicstaticvoidmain(String[]args)
{
inta,b,c;
System.out.print("输入3个整数作为立方体的三边:");
Scanneraccept=newS..
分类:
编程语言 时间:
2015-03-13 02:01:05
阅读次数:
175