码迷,mamicode.com
首页 >  
搜索关键字:zoj 3690 choosing n    ( 3596个结果
ZOJ 3826 Hierarchical Notation 模拟
模拟: 文法分析 hash每个Key建图,对每个节点记录在原串的第几个位置开始输出。。。。 对每个询问沿图走就可以了。。。。 Hierarchical Notation Time Limit: 2 Seconds      Memory Limit: 131072 KB In Marjar University, students in College of Co...
分类:其他好文   时间:2014-10-15 14:24:21    阅读次数:184
ZOJ 3829 Known Notation 乱搞
乱搞: 1.数字的个数要比*的个数多一个,如果数字不足需要先把数字补满 2.最优的结构应该是数字都在左边,*都在右边 3.从左往右扫一遍,遇到数字+1,遇到*-1,如果当前值 Known Notation Time Limit: 2 Seconds      Memory Limit: 65536 KB Do you know reverse Polish no...
分类:其他好文   时间:2014-10-15 11:30:10    阅读次数:222
ZOJ 3795 Grouping
GroupingTime Limit:2 Seconds Memory Limit:65536 KBSuppose there areNpeople in ZJU, whose ages are unknown. We have some messages about them. Thei-th m...
分类:其他好文   时间:2014-10-15 05:38:19    阅读次数:286
ZOJ 3822 Domination
DominationTime Limit:8 Seconds Memory Limit:131072 KB Special JudgeEdward is the headmaster of Marjar University. He is enthusiastic about chess and o...
分类:其他好文   时间:2014-10-15 03:26:35    阅读次数:349
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, th...
分类:其他好文   时间:2014-10-15 02:12:09    阅读次数:470
ZOJ 3288 Domination
D -DominationTime Limit:8000MSMemory Limit:131072KB64bit IO Format:%lld & %lluDescriptionEdward is the headmaster of Marjar University. He is enthusia...
分类:其他好文   时间:2014-10-15 01:47:29    阅读次数:378
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 Mathemati...
分类:其他好文   时间:2014-10-15 00:07:49    阅读次数:238
ZOJ 3822 Domination 概率DP
概率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 che...
分类:其他好文   时间:2014-10-14 23:37:59    阅读次数:214
[ACM] 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-14 21:48:09    阅读次数:147
ZOJ 3829 Known Notation --贪心+找规律
题意:给出一个字符串,有两种操作: 1.插入一个数字 2.交换两个字符 问最少多少步可以把该字符串变为一个后缀表达式(操作符只有*)。解法:仔细观察,发现如果数字够的话根本不用插入,数字够的最低标准为'*'的个数+1,因为最优是 '12*3*..' 这种形式,所以先判断够不够,不够就补,然后从左往....
分类:其他好文   时间:2014-10-14 21:14:09    阅读次数:158
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!