又见GCD
Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 9984 Accepted Submission(s): 4157
Problem Description
有三个正整数a,b,c(0
...
分类:
其他好文 时间:
2014-07-24 10:43:24
阅读次数:
161
隐马尔可夫模型介绍见这里:点击打开链接
Peter's Hobby
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 362 Accepted Submission(s): 160
Problem De...
分类:
其他好文 时间:
2014-07-24 10:36:44
阅读次数:
300
The Suspects
Time Limit:1000MS Memory Limit:20000KB 64bit IO Format:%I64d & %I64u
Submit
Status
Description
Severe acute respiratory syndrome (SARS), an atypical pneumonia of unknown ae...
分类:
其他好文 时间:
2014-07-24 10:36:43
阅读次数:
256
Borg Maze
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 8250
Accepted: 2762
Description
The Borg is an immensely powerful race of enhanced humano...
分类:
其他好文 时间:
2014-07-24 10:30:03
阅读次数:
393
一下是重启Linux下某进程的shell脚本,以tomcat进程为例:
#!/bin/sh
pid=`ps -ef|grep tomcat|grep -v grep|awk '{print $2}'`
if [ "$pid" = "" ] ; then
echo "tomcat service does not start!"
else
kill -9 $pid
pi...
分类:
系统相关 时间:
2014-07-24 10:28:03
阅读次数:
251
Subsequence
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 8403
Accepted: 3264
Description
A sequence of N positive integers (10 < N < 100 000), each of...
分类:
其他好文 时间:
2014-07-24 10:27:40
阅读次数:
215
Say you have an array for which the ith element is the price of a given stock on day i.
Design an algorithm to find the maximum profit. You may complete as many transactions as you like (ie, buy on...
分类:
编程语言 时间:
2014-07-24 10:25:36
阅读次数:
227
题意:给你12张只包含X 和O的牌,问你n*m = 12 中,每一列都是X的情况有几种: 谁把这题定为DP题信不信我砍死你。解题思路:我愚蠢的暴力解题代码: 1 // File Name: 400a.cpp 2 // Author: darkdream 3 // Created Time: 2...
分类:
其他好文 时间:
2014-07-24 10:16:23
阅读次数:
243
题意:给你一段绳子,让你把绳子切成 只有a,b,c组成的任意段,求得到最大段数;解题思路:无穷背包解题代码: 1 // File Name: 189a.cpp 2 // Author: darkdream 3 // Created Time: 2014年07月24日 星期四 08时11分26秒 4 ...
分类:
其他好文 时间:
2014-07-24 10:05:33
阅读次数:
245
题意:问你字符串一定范围能 s[i] = s[i-1]的个数解题思路:简单dp解题代码: 1 // File Name: 313b.cpp 2 // Author: darkdream 3 // Created Time: 2014年07月24日 星期四 08时02分38秒 4 5 #includ....
分类:
其他好文 时间:
2014-07-24 10:04:23
阅读次数:
170