POJ2663-完全覆盖 题解见首注释 //简单递推-三个米诺牌(3*2)为一个单位打草稿得出规律 //题意-3*n块方格能被1*2的米诺牌以多少种情况完全覆盖 //Memory 132K Time: 0 Ms #inc…
分类:Online Judge
April Fools Day Contest 2016 B. Scrambled
B. Scrambled 题目连接: http://www.codeforces.com/contest/656/problem/B Description Btoh yuo adn yuor roomatme lhoa…
POJ 2155 Matrix (二维线段树)
Matrix Time Limit: 3000MS Memory Limit: 65536K Total Submissions: 17226 Accepted:…
BZOJ 4500: 矩阵 差分约束
4500: 矩阵 题目连接: http://www.lydsy.com/JudgeOnline/problem.php?id=4500 Description 有一个n*m的矩阵,初始每个格子的权值都为0,可以对矩阵执行…
HDU 4423 Simple Function(数学题,2012长春D题)
Simple Function Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Jav…
April Fools Day Contest 2016 D. Rosetta Problem
D. Rosetta Problem 题目连接: http://www.codeforces.com/contest/656/problem/D Description ++++++++[>+>++>+…
CROC 2016 - Elimination Round (Rated Unofficial Edition) E. Intellectual Inquiry 贪心 构造 dp
E. Intellectual Inquiry 题目连接: http://www.codeforces.com/contest/655/problem/E Description After getting kicked…
[BZOJ - 2631] tree 【LCT】
题目链接:BZOJ – 2631 题目分析 LCT,像线段树区间乘,区间加那样打标记。 这道题我调了一下午。 提交之后TLE了,我一直以为是写错了导致了死循环。 于是一直在排查错误。直到.. 直…
HDU 6182 [A Math Problem] 打表
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=6182 题目大意:给一个n,问有多少正整数k满足k的k次幂<=n 关键思想:k^k增长速度巨快,k=16时就超过1e1…
Manthan, Codefest 16 C. Spy Syndrome 2 字典树 + dp
C. Spy Syndrome 2 题目连接: http://www.codeforces.com/contest/633/problem/C Description After observing the result…
HDU 3072 Intelligence System (强连通分量)
Intelligence System Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K …
Educational Codeforces Round 9 D. Longest Subsequence dp
D. Longest Subsequence 题目连接: http://www.codeforces.com/contest/632/problem/D Description You are given array a…