码迷,mamicode.com
首页 >  
搜索关键字:broken necklace    ( 572个结果
oacore的application log报broken pipe
oacore的application log报broken pipe...
分类:移动开发   时间:2014-06-26 11:28:58    阅读次数:508
fed to the jaw crusher
Basalt has a higher hardness with strength 300mp as well as the higher silicon content. And during the actual crushing and broken industry, the basalt...
分类:其他好文   时间:2014-06-25 14:57:40    阅读次数:270
UVA 11205 The broken pedometer(子集枚举)
Description  The Broken Pedometer  The Problem A marathon runner uses a pedometer with which he is having problems. In the pedometer the symbols are represented by seven s...
分类:其他好文   时间:2014-06-18 12:31:09    阅读次数:203
hust 1054 Broken Keyboard
题目描述Bruce Force's keyboard is broken, only a few keys are still working. Bruce has figured out he can still type texts by switching the keyboard layou...
分类:其他好文   时间:2014-06-14 21:00:09    阅读次数:444
HDU 2660 Accepted Necklace
此题的大意就是要制作一条项链,这个项链必须用k块石头来制作,且重量不能超过W,问所能制作项链的最大价值。此题数据很水,DFS完全暴力就能过。 1 #include 2 #include 3 #include 4 #define MAX(A,B) (A>B?A:B) 5 int n, k, W;//n...
分类:其他好文   时间:2014-06-11 12:02:02    阅读次数:144
poj 1286 Necklace of Beads & poj 2409 Let it Bead(初涉polya定理)
http://poj.org/problem?id=1286 题意:有红、绿、蓝三种颜色的n个珠子,要把它们构成一个项链,问有多少种不同的方法。旋转和翻转后相同的属于同一种方法。 polya计数。 搜了一篇论文Pólya原理及其应用看了看polya到底是什么东东,它主要计算全部互异的组合的个数。对置换群还是似懂略懂。用polya定理解决问题的关键是找出置换群的个数及哪些置换群...
分类:其他好文   时间:2014-06-08 03:19:16    阅读次数:250
ubuntu 安装ssh
Ubuntu 安装oepnssh 报错 有时候由于linux版本不够新,或者安装的包不知是什么原因坏了。报如下错误 unable to correct the problems, you have held broken prckages 可以用如下命令解决 sudo apt-get autoclean sudo apt-get autoremov...
分类:其他好文   时间:2014-06-05 09:31:23    阅读次数:174
UVA 11054 The Necklace 转化成欧拉回路
题意比较简单,给你n个项链碎片,每个碎片的两半各有一种颜色,最后要把这n个碎片串成一个项链,要求就是相邻碎片必须是同种颜色挨着。看了下碎片总共有1000个,颜色有50种,瞬间觉得普通方法是无法在可控时间内做出来的,因为碎片到底放哪里以及是正着放还是反着放都是不可控的。这个时候数学建模就真的好重要了,...
分类:其他好文   时间:2014-05-26 17:17:00    阅读次数:242
UVA 11988 Broken Keyboard (a.k.a. Beiju Text)
题目大意: 输入一个文章,[ 就是把光标放到最前面  ] 把光标放到最后面。 输出最后得到的文章。 思路分析: 用deque 模拟。 #include #include #include #include #define maxn 111111 using namespace std; char str[maxn]; deque Q; deque::itera...
分类:其他好文   时间:2014-05-23 08:12:11    阅读次数:335
一道很不错的字符分割题
刚在stackoverflow看到一道很不错的问题,遂拿来分享之。 题目要求:我有一个很长的字符串: String s1="This is my world. This has to be broken." 我要把上面的字符串打乱以固定的长度(例如10)使得输出为: This is my world. Thi s has to b e broken. 但是...
分类:其他好文   时间:2014-05-09 02:41:46    阅读次数:266
572条   上一页 1 ... 55 56 57 58 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!