小Q系列故事——电梯里的爱情 Time Limit: 300/100 MS (Java/Others) Memory Limit: 65535/32768 K (Java/O…
分类:Online Judge
HDU 1017[A Mathematical Curiosity]暴力,格式
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1017 题目大意:给定m,n。要求数出共有多少对(a,b)满足0<a<b<n 且 (a^2+b^2+m)/…
Codeforces Round #394 (Div. 2) E. Dasha and Puzzle 构造
E. Dasha and Puzzle 题目连接: http://codeforces.com/contest/761/problem/E Description Dasha decided to have a rest…
VK Cup 2016 - Round 1 (Div. 2 Edition) B. Bear and Displayed Friends 树状数组
B. Bear and Displayed Friends 题目连接: http://www.codeforces.com/contest/658/problem/B Description Limak is a lit…
HDU 1033 Edge (水题)
Edge Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)To…
HDU 1005[Number Sequence]规律
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1005 题目大意:一个数列f(1) = 1, f(2) = 1, f(n) = (A * f(n – 1) + …
HDU 1097[A hard puzzle]循环节
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1097 题目大意:求n^p的末尾数 关键思想:循环节,与HDU1005思想类似http://www.cnblogs.com/…
POJ 1679 The Unique MST(次小生成树)
The Unique MST Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 16984 A…
BZOJ 2064: 分裂 状压dp
2064: 分裂 题目连接: http://www.lydsy.com/JudgeOnline/problem.php?id=2064 Description 背景: 和久必分,分久必和。。。 题目描述: 中国历史上上分…
HDU 5112 A Curious Matt 水题
A Curious Matt Time Limit: 1 Sec Memory Limit: 256 MB 题目连接 http://acm.hdu.edu.cn/showproblem.php?pid=51…
HDU 4578 Transformation (线段树)
Transformation Time Limit: 15000/8000 MS (Java/Others) Memory Limit: 65535/65536 K (Jav…
POJ 2516 Minimum Cost(最小费用最大流)
Minimum Cost Time Limit: 4000MS Memory Limit: 65536K Total Submissions: 10978 Accepted: 3692 Des…