随笔分类 - 动态规划
摘要:题目链接: "http://poj.org/problem?id=3071" Football Time Limit: 1000MSMemory Limit: 65536K 问题描述 Consider a single elimination football tournament involvin
阅读全文
摘要:题目链接: "http://poj.org/problem?id=3744" Scout YYF I Time Limit: 1000MSMemory Limit: 65536K 问题描述 YYF is a couragous scout. Now he is on a dangerous miss
阅读全文
摘要:题目链接: "http://acm.hdu.edu.cn/showproblem.php?pid=4336" Card Collector Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)
阅读全文
摘要:题目链接: "http://acm.hdu.edu.cn/showproblem.php?pid=4418" Time travel Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others) 问题描
阅读全文
摘要:题目链接: "http://acm.hdu.edu.cn/showproblem.php?pid=2262" Where is the canteen Time Limit: 10000/5000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/O
阅读全文
摘要:题目链接: "http://acm.hdu.edu.cn/showproblem.php?pid=4035" Maze Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65768/65768 K (Java/Others) 问题描述 When
阅读全文
摘要:题目链接: "http://vjudge.net/problem/UVA 11021" Tribles Time Limit: 3000MS 题意 有k只麻球,每只活一天就会死亡,临死之前可能会出生一些新的麻球。生i个麻球的概率为pi,求m天后所有麻球死亡的概率。不足m天死光也算。 题解 每只麻球后
阅读全文
摘要:题目链接: "http://acm.hdu.edu.cn/showproblem.php?pid=3853" LOOPS Time Limit: 15000/5000 MS (Java/Others)Memory Limit: 125536/65536 K (Java/Others) 问题描述 Ak
阅读全文
摘要:题目链接: "http://poj.org/problem?id=2096" Collecting Bugs Time Limit: 10000MSMemory Limit: 64000K 问题描述 Ivan is fond of collecting. Unlike other people wh
阅读全文
摘要:题目链接: "http://acm.hdu.edu.cn/showproblem.php?pid=4405" Aeroplane chess Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)
阅读全文
摘要:题目链接: "http://codeforces.com/problemset/problem/621/E" E. Wet Shark and Blocks time limit per test2 secondsmemory limit per test256 megabytes 问题描述 The
阅读全文
摘要:题目链接: "http://acm.hdu.edu.cn/showproblem.php?pid=4616" Game Time Limit: 3000/1000 MS (Java/Others)Memory Limit: 65535/32768 K (Java/Others) 问题描述 Nowad
阅读全文
摘要:题目链接: "http://acm.hdu.edu.cn/showproblem.php?pid=4126" Genghis Khan the Conqueror Time Limit: 10000/5000 MS (Java/Others)Memory Limit: 327680/327680 K
阅读全文
摘要:题目链接: "http://codeforces.com/problemset/problem/337/D" D. Book of Evil time limit per test2 secondsmemory limit per test256 megabytes 问题描述 Paladin Man
阅读全文
摘要:题目链接: http://acm.hdu.edu.cn/showproblem.php?pid=4123 Time Limit: 5000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) 问题描述 Bob wants t
阅读全文
摘要:题目链接: "http://acm.hdu.edu.cn/showproblem.php?pid=4514" 湫湫系列故事——设计风景线 Time Limit: 5000/2000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others) 问
阅读全文
摘要:题目链接: "http://poj.org/problem?id=1239" Increasing Sequences Time Limit: 1000MSMemory Limit: 10000K 问题描述 Given a string of digits, insert commas to cre
阅读全文
摘要:题目链接: "https://acm.bnu.edu.cn/v3/contest_show.php?cid=8506 problem/I" I. Increasing or Decreasing Case Time Limit: 1000msMemory Limit: 524288KB 题意 求[l
阅读全文
摘要:题目链接: "https://www.bnuoj.com/v3/problem_show.php?pid=52305" Around the World Time Limit: 20000msMemory Limit: 1048576KB 题意 给你一颗树,相邻两点间有2c条边,问以1为起点和终点的
阅读全文
摘要:题目链接: "http://bak.vjudge.net/problem/UVA 10635" Prince and Princess Time Limit: 3000MS 题意 给你两个数组,求他们的最长公共子串。 题解 每个数组的大小最大有62500,所以n^2的经典算法肯定行不通。 那么,我么
阅读全文

浙公网安备 33010602011771号