码迷,mamicode.com
首页 >  
搜索关键字:zoj 3690 choosing n    ( 3596个结果
zoj 3822 Domination (概率DP)
Domination Time Limit: 8 Seconds      Memory Limit: 131072 KB      Special Judge Edward is the headmaster of Marjar University. He is enthusiastic about chess and often plays chess with his fr...
分类:其他好文   时间:2014-10-16 19:51:23    阅读次数:325
2014ACM/ICPC亚洲区域赛牡丹江站现场赛-K ( ZOJ 3829 ) Known Notation
Known Notation Time Limit: 2 Seconds      Memory Limit: 65536 KB Do you know reverse Polish notation (RPN)? It is a known notation in the area of mathematics and computer science. It is also k...
分类:其他好文   时间:2014-10-16 03:40:51    阅读次数:191
BZOJ 3540 realtime-update 解题
分析一下题意,大约是给定一串牛,然后找到一个跨越距离最长的牛子串使得在这个范围内白牛和花牛一样多. 白牛可以任意涂成花牛.既然"白牛可以任意涂成花牛",那么我们需要找到一个最长的子串使得长度为偶且白牛数>=花牛.注意这里的"最长"不指元素个数最多.按照牛们排个序,那么就在一条线上了.然后...细节明...
分类:其他好文   时间:2014-10-16 01:52:11    阅读次数:167
ZOJ 3829 贪心 思维题
http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3829 现场做这道题的时候,感觉是思维题,自己智商不够,不敢搞,想着队友智商好,他们搞吧,但是没出来这题...... 以后任何时候,都自信点....该想的还是好好自己想,这类题感觉就是先去找性质,然后一点点找规律,如果必要的话,自己提出一点猜想,然后如果自己举不出来反例,...
分类:其他好文   时间:2014-10-16 01:14:11    阅读次数:191
2014ACM/ICPC亚洲区域赛牡丹江站现场赛-I ( ZOJ 3827 ) Information Entropy
Information Entropy Time Limit: 2 Seconds      Memory Limit: 65536 KB      Special Judge Information Theory is one of the most popular courses in Marjar University. In this course, there is an...
分类:其他好文   时间:2014-10-16 01:01:15    阅读次数:334
2014ACM/ICPC亚洲区域赛牡丹江站现场赛-A ( ZOJ 3819 ) Average Score
Average Score Time Limit: 2 Seconds      Memory Limit: 65536 KB Bob is a freshman in Marjar University. He is clever and diligent. However, he is not good at math, especially in Mathematical A...
分类:其他好文   时间:2014-10-16 00:48:01    阅读次数:428
ACM学习历程——ZOJ 3829 Known Notation (2014牡丹江区域赛K题)(策略,栈)
DescriptionDo you know reverse Polish notation (RPN)? It is a known notation in the area of mathematics and computer science. It is also known as post...
分类:其他好文   时间:2014-10-16 00:15:21    阅读次数:587
ZOJ 3822 概率DP
http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3822 记得比赛之前,看到WALK那道概率DP的题,然后就觉得应该可能出概率DP,十一还专门看了以前做的, 现场的时候,真的出了,然后好激动的样子,开始推得二维,然后感觉好难推,发现n只有50,所以就去推三维,然后发现k 也发现了自己的问题:1、平时学的东西掌握的不够扎...
分类:其他好文   时间:2014-10-15 23:18:52    阅读次数:215
【原创】ZOJ_1649 Rescue 解题报告
RescueTime Limit:2 Seconds Memory Limit:65536 KBAngel was caught by the MOLIGPY! He was put in prison by Moligpy. The prison is described as a N * M (...
分类:其他好文   时间:2014-10-15 19:06:41    阅读次数:248
ZOJ 3820:Building Fire Stations(树的直径 Grade C)
题意:n个点的树,边长全为1,求找出两个点,使得树上离这两个点距离最远的那个点,到这两个点(中某个点就行)的距离最小。思路:求树直径,找中点,删除中间那条边(如果直径上点数为奇数,则删任何一侧都可),分成两个子树,再求中心,即为答案。代码://14:12#include #include #incl...
分类:其他好文   时间:2014-10-15 15:45:11    阅读次数:197
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!