【题目】
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 none) of the characters without disturbing the relati...
分类:
其他好文 时间:
2014-06-29 07:27:17
阅读次数:
210
1 查看各个项目的Project ID编号
mysql -uroot -h10.10.2xx.xx
show databases;
use bugfree2;
desc bf_TestProject;
select ProjectID,ProjectName from bf_TestProject;(查询结果如下)
2 在/va...
分类:
其他好文 时间:
2014-06-20 12:19:19
阅读次数:
262
最近在看《深度探索C++对象模型》,学到了很多东西。。。
C++新手一般有两个常见的误解:
1.任何class如果没有定义default constructor,就会被合成出一个来。
2.编译器合成出来的default constructor会显示设定“class 内每一个data member的默认值”
注意:以上两个说法都是错误的!
编译器只会在以下4种情况,并且class自...
分类:
编程语言 时间:
2014-06-20 12:18:41
阅读次数:
224
在上一篇《Android多线程研究(5)——线程之间共享数据》中对线程之间的数据共享进行了学习和研究,这一篇我们来看看如何解决多个线程之间的数据隔离问题,什么是数据隔离呢?比如说我们现在开启了两个线程,这两个线程都要同时给同一个全局变量data赋值,各个线程操作它赋值后的变量数据,这里就需要用到隔离。先看一段代码:import java.util.Random;
public class Th...
分类:
移动开发 时间:
2014-06-20 11:25:58
阅读次数:
321
PREPARE statement_name FROM sql_text /*定义*/ EXECUTE statement_name [USING variable [,variable...]] /*执行预处理语句*/ DEALLOCATE PREPARE statement_name /*删除定义*/ 这是我项目当中用到的,用作参考使用:DELIMITER $$
DROP PROC...
分类:
数据库 时间:
2014-06-20 11:22:00
阅读次数:
279
JDBC
JDBC (Java Data Base Connectivity,Java数据库连接)是一种用于执行SQL语句的Java
API。
看到Java数据库连接,只要是从vb及.NET学过来的,肯定会想到ODBC(开放式数据库连接),JDBC和ODBC都是用来连接数据库的启动程序,都用于应用程序和数据库的交互。
结构模型
JDBC
根据Ja...
分类:
数据库 时间:
2014-06-20 09:07:35
阅读次数:
299
.\Obj\HST3GSTM32F205.axf: Error: L6218E: Undefined symbol get_host_by_name (referred from neti_tcpip.o).
.\Obj\HST3GSTM32F205.axf: Error: L6218E: Undefined symbol tcp_abort (referred from neti_tcpip....
分类:
其他好文 时间:
2014-06-07 16:22:39
阅读次数:
260
【尝试读取或写入受保护的内存。这通常指示其他内存已损坏。 (System.Data)】
管理员身份运行 cmd -> 输入 netsh winsock reset
提问者评价
曾经让我重装系统的bug,一句话就就解决了,谢谢你~
评论 | 2...
分类:
数据库 时间:
2014-06-07 16:12:07
阅读次数:
239
using Microsoft.SharePoint;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.OleDb;
using System.Linq;
using System.Web.UI.WebCo...
分类:
其他好文 时间:
2014-06-07 14:39:38
阅读次数:
226
By starting at the top of the triangle below and moving to adjacent numbers on the row below, the maximum total from top to bottom is 23.
3
7 4
2 4 6
8 5 9 3
That is, 3 + 7 + 4 + 9 = 23.
Find th...
分类:
其他好文 时间:
2014-06-07 13:45:25
阅读次数:
189