Problem Description
Given three strings, you are to determine whether the third string can be formed by combining the characters in the first two strings. The first two strings can be mixed arbitra...
分类:
其他好文 时间:
2014-08-17 13:04:42
阅读次数:
205
Description
There are two rows of positive integer numbers. We can draw one line segment between any two equal numbers, with values r, if one of them is located in the first row and the other one i...
分类:
其他好文 时间:
2014-08-16 23:52:01
阅读次数:
560
A Stack or A Queue?Time Limit:1 Second Memory Limit:32768 KBDo you know stack and queue? They're both important data structures. A stack is a "first i...
分类:
其他好文 时间:
2014-08-16 23:48:11
阅读次数:
308
#include void main(){ int i=0,old=2,first=0,second=0,third=0,sum=0; for(i=0;i<20;i++) { old=old+third; third=second; second=first; first=old; ...
分类:
其他好文 时间:
2014-08-16 23:43:11
阅读次数:
221
网页需要更好的交互体验,仅仅有html和css当然不够,因此javascript粉末登场 ...onload : 页面加载完成之后会出发onload eventalert() : 插入一些提示信息example:在页面加载完成之后提示'Hello, world',可以发现调用函数的方式...
分类:
编程语言 时间:
2014-08-16 23:38:01
阅读次数:
224
题意:看那张图就一清二楚了吧, N个序列首位相连(相同的序列部分),得到最短的总序列。
题目链接:http://poj.org/problem?id=1699
~~~~
思路就是:将N个序列首尾相连能重合的长度求粗来。然后DFS枚举每种首尾相连的情况。
#include
#include
#include
#define N 22
#define INF 0x7fffffff
us...
分类:
其他好文 时间:
2014-08-16 22:32:41
阅读次数:
185
A computer-implemented method and apparatus in a computer system of processing data generated by a first application program in a second application p...
分类:
移动开发 时间:
2014-08-16 22:21:11
阅读次数:
345
Description
A lattice point (x, y) in the first quadrant (x and y are integers greater than or equal to 0), other than the origin, is visible from the origin if the
line from (0, 0) to (x, y) d...
分类:
其他好文 时间:
2014-08-16 21:11:56
阅读次数:
206
SQL> var loc varchar2(30)SQL> exec :loc:='South San Francisco'PL/SQL procedure successfully completed.SQL> SELECT 2 emp.last_name,emp.first_name,j....
分类:
其他好文 时间:
2014-08-16 17:05:00
阅读次数:
228
The Lamp Game
Time Limit: 2 Seconds
Memory Limit: 65536 KB
Little Tom likes playing games. Recently he is fond of a game called Lamp Game. The game is like this: at first, there are n lamps o...
分类:
其他好文 时间:
2014-08-16 15:10:10
阅读次数:
250