- 博客(59)
- 资源 (1)
- 收藏
- 关注
原创 fzoj 2170 花生的序列
Problem 2170 花生的序列Accept: 41 Submit: 127Time Limit: 3000 mSec Memory Limit : 32768 KB Problem Description“我需要一个案件!!!”,没有案件卷福快疯了。花生不忍心看卷福这个样子,他决定帮卷福找点事情做。花生拿了两个长度为N的相同的序列,序列都为WB
2014-05-01 20:56:13 1347
原创 hdu1176免费馅饼(dp)
免费馅饼Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 23808 Accepted Submission(s): 8025Problem Description都说天上不会掉馅饼,但有一天gamebo
2014-04-26 21:29:02 920
原创 codechef Mike and Stamps
All submissions for this problem are available.Read problems statements in Mandarin Chinese and Russian.Mike is fond of collecting stamps. He has a lot of rare and unusual ones in his collec
2014-04-18 20:22:20 948
原创 携程——聪明的猴子 (容斥定理)
聪明的猴子Time Limit : 2000/1000ms (Java/Other) Memory Limit : 32768/32768K (Java/Other)Total Submission(s) : 153 Accepted Submission(s) : 53Font: Times New Roman | Verdana | GeorgiaFon
2014-04-16 10:45:39 1358
原创 携程——括号匹配(记忆化搜索)
括号匹配Time Limit : 2000/1000ms (Java/Other) Memory Limit : 32768/32768K (Java/Other)Total Submission(s) : 106 Accepted Submission(s) : 42Font: Times New Roman | Verdana | GeorgiaFont
2014-04-16 10:10:28 1308
原创 uva11825 Hackers' Crackdown
Problem HHackers’ Crackdown Input: Standard InputOutput: Standard Output Miracle Corporations has a number of system services running in a distributed computer system which is a prime targ
2014-03-27 16:02:13 875
原创 九度oj 王道论坛研究生机试练习赛第三场
昨晚做了九度oj上的练习赛。。让我感觉这些题目对于acm来说真是心不难。。好了,闲话少说,就给出最后两道的题解。题目1551:切蛋糕时间限制:1 秒内存限制:128 兆特殊判题:否提交:236解决:71题目描述:有如下图半价为R的圆形蛋糕,被切一刀后(图中红色直线),分成两个部分(黄色和绿色),已知其比例为
2014-03-10 10:46:01 1914 4
原创 中大周赛 2014年每周一赛第二场 Meet and Greet
10392. Meet and Greet限制条件时间限制: 1 秒, 内存限制: 256 兆 题目描述As is commonly known, cows are very socially polite creatures: any time two cows meet after being apart, they greet each-other with a frie
2014-03-09 12:15:31 1510
原创 九度oj 2014年王道论坛研究生机试练习赛(二) 第四题
题目1550:分糖果时间限制:1 秒内存限制:128 兆特殊判题:否提交:870解决:188题目描述:给从左至右排好队的小朋友们分糖果,要求:1.每个小朋友都有一个得分,任意两个相邻的小朋友,得分较高的所得的糖果必须大于得分较低的,相等则不作要求。2.每个小朋友至少获得一个糖果。求,至少需要的糖果数。
2014-03-07 15:31:59 1445
原创 Fighting For 2014 (One University One Question) Round II [E] New Year 2014
[E] New Year 2014时间限制: 2000 ms 内存限制: 262144 K问题描述In the New Year 2014, Xiao Ming is thinking about the question: give two integers N and K, Calculate the number of the numbers of satisfy t
2014-02-14 19:46:44 1076 1
原创 uva 10003- Cutting Sticks (记忆化搜索)
Cutting Sticks You have to cut a wood stick into pieces. The most affordable company, The Analog Cutting Machinery, Inc. (ACM), charges money according to the length of the stick being cut
2014-02-04 18:34:48 1345
原创 ZOJ Monthly, January 2014 F The Three Guys (浙江大学月赛)
The Three GuysTime Limit: 2 Seconds Memory Limit: 65536 KB Special Judge Recent days, a joke spread out among Chinese social networks. "If Yao Ming,Guo Jingming and He Jiong lyin
2014-01-27 10:02:04 1530 2
原创 ZOJ Monthly, January 2014 E Diagonal (浙江大学月赛)
DiagonalTime Limit: 2 Seconds Memory Limit: 65536 KB Alice is very interested in the algorithm. He finds a interesting book called "Algorithmic puzzles" which contains more than 100 puz
2014-01-27 09:48:41 2044 2
原创 Codeforces Round #218 (Div. 2) E. Subway Innovation
E. Subway Innovationtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputBerland is going through tough times —
2014-01-10 15:59:13 1126
原创 菜鸟acm新篇章^-^F,G题
F题题意:中文题,自己看!!题解:这道题最常规的解法是对于每一袋米都可以有两个尝试:选择或者不选择。那就会有2^N种可能。一直选到自己的钱满了。。然后每次更新最大值。。这种解法是没错,但是N是可以达到1000*20.。。这绝对是Time Limit Exceeded。不可能Accepted。所以现在算法的重要性就体现出来了。。01背包问题。。dp[i]代表有i的钱数最多
2014-01-08 19:44:30 883
原创 uestc 第五届ACM趣味程序设计竞赛第二场(正式赛)棋盘
棋盘Time Limit: 1000 ms Memory Limit: 65535 kB Solved: 124 Tried: 377SubmitStatusBest SolutionBackDescriptionUDK和RU在一个白色的方格棋盘上玩游戏,棋盘有N行M列,由N*M个小方格组成。两人轮流进行游戏,UDK先开始,然后是RU
2013-12-21 16:29:02 2131 2
原创 hdu 3033 I love sneakers!
I love sneakers!Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3340 Accepted Submission(s): 1361Problem DescriptionAfter mon
2013-12-21 15:21:05 1083
原创 Codeforces Round #218 (Div. 2) D. Vessels
D. Vesselstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere is a system of n vessels arranged one above the othe
2013-12-11 09:25:13 1302
原创 hdu4507恨7不成妻(数位dp) 2013腾讯编程马拉松初赛第一场
吉哥系列故事——恨7不成妻Time Limit: 1000/500 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 1154 Accepted Submission(s): 343Problem Description 单身! 依然单身!
2013-12-06 23:35:50 1331
原创 The 2013 ACM-ICPC Asia Changsha Regional Contest J Josephina and RPG
Josephina and RPGTime Limit: 2 Seconds Memory Limit: 65536 KB Special JudgeA role-playing game (RPG and sometimes roleplaying game) is a game in which players assume the roles of c
2013-11-27 19:24:40 1776
原创 The 2013 ACM-ICPC Asia Changsha Regional Contest C Zoj Collision
CollisionTime Limit: 2 Seconds Memory Limit: 65536 KB Special Judge There's a round medal fixed on an ideal smooth table, Fancy is trying to throw some coins and make them slip tow
2013-11-27 08:55:58 1889 5
原创 The 2013 ACM-ICPC Asia Changsha Regional Contest K Pocket Cube
Pocket CubeTime Limit: 2 Seconds Memory Limit: 65536 KBPocket Cube is a 3-D combination puzzle. It is a 2 × 2 × 2 cube, which means it is constructed by 8 mini-cubes. For a combination
2013-11-24 19:10:01 2674
原创 蓝桥杯 操作格子(线段树)
问题描述有n个格子,从左到右放成一排,编号为1-n。共有m次操作,有3种操作类型:1.修改一个格子的权值,2.求连续一段格子权值和,3.求连续一段格子的最大值。对于每个2、3操作输出你所求出的结果。输入格式第一行2个整数n,m。接下来一行n个整数表示n个格子的初始权值。接下来m行,每行3个整数p,x,y,p
2013-11-18 22:39:54 2314 2
原创 sicily9162. RAZLIKA
9162. RAZLIKA限制条件时间限制: 2 秒, 内存限制: 256 兆题目描述Mirko's newest math homework assignment is a very difficult one! Given a sequence, V, of N integers,remove exactly K of them from the seque
2013-11-17 21:08:47 978
原创 hdu4786Fibonacci Tree
Fibonacci TreeTime Limit: 4000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 38 Accepted Submission(s): 21Problem Description Coach Pang is
2013-11-17 16:15:59 828
原创 hdu4770Lights Against Dudely
Lights Against DudelyTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 362 Accepted Submission(s): 119Problem DescriptionHarry: "Bu
2013-11-12 12:38:53 1786
原创 sicily 9095 Islands
9095. Islands限制条件时间限制: 2 秒, 内存限制: 256 兆题目描述Whenever it rains, Farmer John's field always ends up flooding. However, since the field isn't perfectly level, it fills up with water in a non-uni
2013-10-30 17:47:41 983
原创 hdu4568Hunter(BFS+TSP)
HunterTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 725 Accepted Submission(s): 200Problem Description One day, a hunter n
2013-10-21 20:41:09 1684
原创 hdu4576Robot
RobotTime Limit: 8000/4000 MS (Java/Others) Memory Limit: 102400/102400 K (Java/Others)Total Submission(s): 1783 Accepted Submission(s): 655Problem DescriptionMichael has a telec
2013-10-16 10:27:13 929
转载 震撼!!
成为it精英,我奋斗7年(震撼!转) 2011-10-13 09:42:59| 分类: 人生|字号 订阅这些日子 我一直在写一个实时操作系统内核,已有小成了,等写完我会全部公开,希望能够为国内IT的发展尽自己一份微薄的力量。最近看到很多学生朋友和我当年一样没 有方向 ,所以把我的经历写出来与大家共勉,希望能给刚如行的朋友们一点点帮助。 一转眼我在IT行业学习
2013-10-05 20:02:37 960
原创 hdu1166敌兵布阵
敌兵布阵Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 32178 Accepted Submission(s): 13823Problem DescriptionC国的死对头A国这段时间正在进行军事演
2013-10-05 14:31:38 926
原创 hdu2424Gary's Calculator
Gary's CalculatorTime Limit: 5000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 857 Accepted Submission(s): 188Problem DescriptionGary has f
2013-10-03 20:37:31 993
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人