题目链接
https://icpcarchive.ecs.baylor.edu/external/68/6801.pdf
借下队友的代码。
#include
#include
#include
unsigned long long dp[1010][1010];
bool flag[1010][1010];
char a[1010];
using namespace std;
int mai...
分类:
其他好文 时间:
2015-04-24 09:03:28
阅读次数:
110
Description
Alexander Charles McMillan loves to gamble, and during his last trip to the casino he ran across a new game. It is played on a linear sequence of squares as shown below.
A chip is...
分类:
其他好文 时间:
2015-04-23 23:30:27
阅读次数:
290
一、首先我们先了解一下Tcp的三次握手流程
1)第一次握手:建立连接时,客户端发送syn包(syn=j)到服务器,并进入SYN_SENT状态,等待服务器确认;SYN:同步序列编号(Synchronize Sequence Numbers)。
2)第二次握手:服务器收到syn包,必须确认客户的SYN(ack=j+1),同时自己也发送一个SYN包(syn=k),即SYN+ACK包,此时服务器进...
分类:
其他好文 时间:
2015-04-23 21:43:46
阅读次数:
281
delete from TableName; //清空数据update sqlite_sequence SET seq = 0 where name ='TableName';//自增长ID为0
分类:
数据库 时间:
2015-04-23 21:22:11
阅读次数:
171
题目链接: http://poj.org/problem?id=2478题目大意: 在一个集合f(n)中,包涵一些分数a/b,这些分数满足: 1:不可约分。 2:0 2 #include 3 #include 4 #include 5 #include 6 using namesp...
分类:
其他好文 时间:
2015-04-23 19:21:18
阅读次数:
156
Problem Description
The counter-terrorists found a time bomb in the dust. But this time the terrorists improve on the time bomb. The number sequence of the time bomb counts from 1 to N. If the curren...
分类:
其他好文 时间:
2015-04-23 13:22:02
阅读次数:
167
插入排序1 INSERTION-SORT(A)2 for j←2 to length(A)3 do key←A[j]4 ?Insert A[j] into the sorted sequence A[1..j-1]5 i←j-16 while ...
分类:
其他好文 时间:
2015-04-22 23:55:30
阅读次数:
128
2783: [JLOI2012]树Time Limit:1 SecMemory Limit:128 MBSubmit:551Solved:323[Submit][Status][Discuss]Description数列提交文件:sequence.pas/c/cpp输入文件:sequence.in输...
分类:
其他好文 时间:
2015-04-22 20:36:54
阅读次数:
138
环境:PLSQL Developer 7.1.5 Oracle 11.2.0 ? Oracle?中不像MYSQL和MSSQLServer中那样指定一个列为自动增长列的方式,不过在Oracle中可以通过SEQUENCE序列来实现自动增长字段。在Oracle中SEQUENCE被称为序列,...
分类:
数据库 时间:
2015-04-22 16:28:41
阅读次数:
235
Sorting It All Out
Time Limit: 1000MS
Memory Limit: 10000K
Total Submissions: 29182
Accepted: 10109
Description
An ascending sorted sequence of distinct values is one...
分类:
编程语言 时间:
2015-04-22 15:19:59
阅读次数:
174