码迷,mamicode.com
首页 >  
搜索关键字:second    ( 4896个结果
URAL 1989 Subpalindromes(回文串 线段树 多项式hash)
1989. Subpalindromes Time limit: 0.5 second Memory limit: 64 MB You have a string and queries of two types: replace i’th character of the string by character a;check if substring sj...sk i...
分类:其他好文   时间:2015-08-08 18:22:03    阅读次数:160
Light Bulb
Light Bulb Time Limit: 1 Second      Memory Limit: 32768 KB Compared to wildleopard's wealthiness, his brother mildleopard is rather poor. His house is narrow and he has only one light bulb i...
分类:其他好文   时间:2015-08-08 12:13:18    阅读次数:166
取石子游戏(hdu2516+FIB博弈)
G - 取石子游戏 Description 1堆石子有n个,两人轮流取.先取者第1次可以取任意多个,但不能全部取完.以后每次取的石子数不能超过上次取子数的2倍。取完者胜.先取者负输出"Second win".先取者胜输出"First win". Description 1堆石子有n个,两人轮流取.先取者第1次可以取任意多个,但不能全部取完.以后每次取的石子数不能超过...
分类:其他好文   时间:2015-08-08 12:05:31    阅读次数:106
HDU-1015(暴力)
SafecrackerProblem Description=== Op tech briefing, 2002/11/02 06:42 CST ==="The item is locked in a Klein safe behind a painting in the second-floor ...
分类:其他好文   时间:2015-08-07 19:29:24    阅读次数:116
UVA 10603 Fill倒水问题
There are three jugs with a volume of a, b and c liters. (a, b, and c are positive integers not greater than 200). The ?rst and the second jug are initially empty, while the third is completely ?lled...
分类:其他好文   时间:2015-08-06 09:29:08    阅读次数:134
URAL 1907. Coffee and Buns(数论推导+容斥原理)
1907. Coffee and Buns Time limit: 1.0 second Memory limit: 64 MB Planet Ataraxia is known for its education centers. The people who are expected to take high social positions in future are...
分类:其他好文   时间:2015-08-06 00:32:13    阅读次数:118
调用图灵机器人接口的问题
package?com.second; import?java.io.BufferedReader; import?java.io.IOException; import?java.io.InputStreamReader; import?java.net.HttpURLConnection; import?java.net.URL; import?java.net.URLE...
分类:其他好文   时间:2015-08-05 13:19:39    阅读次数:418
【算法】利用有限自动机进行字符串匹配
1102. Strange Dialog Time Limit: 1.0 second Memory Limit: 16 MB One entity named "one" tells with his friend "puton" and their conversation is interesting. "One" can say words "out" and "output...
分类:编程语言   时间:2015-08-04 08:14:23    阅读次数:230
URAL 1900. Brainwashing Device(dp+输出路径)
1900. Brainwashing Device Time limit: 1.0 second Memory limit: 64 MB While some people travel in space from planet to planet and discover new worlds, the others who live on Earth still have...
分类:其他好文   时间:2015-08-03 19:11:55    阅读次数:369
Shell 学习22 - Shell 函数参数
在Shell中,调用函数时可以向其传递参数。在函数体内部,通过 $n 的形式来获取参数的值,例如,$1表示第一个参数,$2表示第二个参数... 带参数的函数示例: #!/bin/bash funWithParam(){ echo "The value of the first parameter is $1 !" echo "The value of the second parameter ...
分类:系统相关   时间:2015-08-03 14:46:42    阅读次数:160
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!