码迷,mamicode.com
首页 >  
搜索关键字:zoj 3456    ( 3447个结果
POJ 2546 & ZOJ 1597 Circular Area(求两圆相交的面积 模板)
POJ 2546 & ZOJ 1597 Circular Area(求两圆相交的面积 模板)...
分类:其他好文   时间:2014-11-12 23:07:11    阅读次数:321
[ZOJ 1006] Do the Untwist (模拟实现解密)
题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=6题目大意:给你加密方式,请你求出解密。直接逆运算搞,用到同余定理 1 #include 2 #include 3 #include 4 #include 5 #i...
分类:其他好文   时间:2014-11-12 22:48:07    阅读次数:293
ZOJ 3802 Easy 2048 Again ( 状态压缩 )
状态压缩...
分类:其他好文   时间:2014-11-12 21:16:49    阅读次数:223
ZOJ 3804 YY's Minions(简单模拟)
YY's Minions Time Limit: 2 Seconds      Memory Limit: 65536 KB Despite YY's so much homework, she would like to take some time to play with her minions first. YY lines her minions up to an N*M ...
分类:其他好文   时间:2014-11-12 17:57:09    阅读次数:204
ZOJ 3805 Machine
简单有想法...
分类:系统相关   时间:2014-11-12 16:38:26    阅读次数:184
ZOJ 3805 Machine(简单dp)
Machine Time Limit: 2 Seconds      Memory Limit: 65536 KB In a typical assembly line, machines are connected one by one. The first machine's output product will be the second machine's raw mater...
分类:系统相关   时间:2014-11-12 16:30:03    阅读次数:173
zoj 1425 最大交叉匹配
Crossed MatchingsTime Limit: 2 Seconds Memory Limit: 65536 KBThere are two rows of positive integer numbers. We can draw one line segment between any....
分类:其他好文   时间:2014-11-11 18:49:49    阅读次数:199
ZOJ 2853 Evolution[ 矩阵快速幂 ]
传送门:ZOJ 1853 Description Evolution is a long, long process with extreme complexity and involves many species. Dr. C. P. Lottery is currently investigating a simplified model of evolution: cons...
分类:其他好文   时间:2014-11-11 09:26:23    阅读次数:239
zoj 3228 Searching the String(AC自动机)
题目连接:zoj 3228 Searching the String 题目大意:给定一个字符串,然后现在有N次询问,每次有一个type和一个子串,问说子串在字符串中出现几次,type 为0时为可重叠,为1时为不可重叠。 解题思路:不过没有type=1的限制,那么就是普通的AC自动机匹配问题,对于不可重叠问题,可以对于每个节点记录 一下上一次匹配到的pos,用当前匹配的i减掉...
分类:其他好文   时间:2014-11-10 21:55:20    阅读次数:311
利用Python获取ZOJ所有题目的名字
先贴出代码,行数比较少,仅仅用正则表达式分析出题目Title所在的标签并把题目Title提取出来 1 import urllib.request 2 import re 3 import dbm 4 #定义URL,其中%d用于替换页码 5 url = 'http://acm.zju.edu.cn/o...
分类:编程语言   时间:2014-11-10 16:59:37    阅读次数:303
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!