码迷,mamicode.com
首页 >  
搜索关键字:poj 3126 prime path    ( 51975个结果
poj3041(二分匹配简单题)
题目链接:http://poj.org/problem?id=3041 Asteroids Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 14022   Accepted: 7629 Description Bessie wants to...
分类:其他好文   时间:2014-05-07 05:59:05    阅读次数:366
POJ3254:Corn Fields(状态压缩)
Description Farmer John has purchased a lush new rectangular pasture composed of M by N (1 ≤ M ≤ 12; 1 ≤ N ≤ 12) square parcels. He wants to grow some yummy corn for the cows on a number of square...
分类:其他好文   时间:2014-05-07 05:46:43    阅读次数:323
SCUT 2014 B题 Numbers (DFA有穷自动机)
题目链接:   SCUT 2014  题目大意:   判断给出的字符串中是否是正确的科学计数法                   A+1.5Be+8C,可以是实数或者含有指数的实数,ABC三个部分表示空格,可有可无,正负号可有可无                   指数部分只能是整数 解题思路:   建立有穷自动机状态转移表,一共是10种状态...
分类:其他好文   时间:2014-05-07 05:32:27    阅读次数:330
POJ 3461 Oulipo(自己YY的模式匹配算法)
请不要随便指点别人该怎么做、每个人的人生都应该自己掌握、你给不了别人一切、你也不懂别人的忧伤、                                                                                                  微笑不代表快乐、哭泣不一定悲伤                不努力怎么让那些关心你的人幸福、不努...
分类:其他好文   时间:2014-05-07 05:21:00    阅读次数:239
POJ2411:Mondriaan's Dream(状态压缩)
Description Squares and rectangles fascinated the famous Dutch painter Piet Mondriaan. One night, after producing the drawings in his 'toilet series' (where he had to use his toilet paper to draw on,...
分类:其他好文   时间:2014-05-07 05:16:29    阅读次数:385
poj 1080 Human Gene Functions_简单dp
简单dp...
分类:其他好文   时间:2014-05-07 04:10:52    阅读次数:268
POJ 3207 Ikki's Story IV - Panda's Trick
每条边有两种连法,在圆的外侧或圆的内侧. 对于有可能相交的两条边,不能在同一侧. 建图判断2sat  Ikki's Story IV - Panda's Trick Time Limit: 1000MS   Memory Limit: 131072K Total Submissions: 7692   Accepted: 284...
分类:其他好文   时间:2014-05-06 23:32:06    阅读次数:431
Android开发之手机铃声代码实现
如果读到的是音频文件路径,需要先将音乐文件插入到多媒体库。如:path传入:/mnt/sdcard/mp3/a.mp3 //设置--铃声的具体方法      public void setMyRingtone(String path)      {         File sdfile = new File(path);        ContentValues values = new Co...
分类:移动开发   时间:2014-05-06 22:55:52    阅读次数:500
python修改文件名
最近下了《中国式英语口语纠错》里面的文件都是“tingvoa.com_cnusa043.mp3”,MP3播放器不识别, 因此用python脚本写了一个rename的脚本 # -*- coding: utf-8 -*- import os def filerename(path):     for file in os.listdir(path):         #pr...
分类:编程语言   时间:2014-05-06 22:48:40    阅读次数:423
leetcode -day9 Candy & Gas Station & Binary Tree Maximum Path Sum
1、 ?? Candy There are N children standing in a line. Each child is assigned a rating value. You are giving candies to these children subjected to the following requirements: Each child must h...
分类:其他好文   时间:2014-05-06 22:41:02    阅读次数:427
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!