码迷,mamicode.com
首页 >  
搜索关键字:uva live 3882    ( 10951个结果
F?l?a?s?h? ?M?e?d?i?a? ?L?i?v?e? ?E?n?c?o?d?e?r?参?数?表
Flash Media Live Encoder命令行推流Flash Media Live Encoder NotesFlash Media Live Encoder 除了直接以 GUI 方式操作之外还能透过 Command Line 呼叫 FMLECmd 方式控制以下则是简单的笔记大部分 FMLE...
分类:其他好文   时间:2014-07-19 19:10:29    阅读次数:351
jQuery的三种bind/One/Live/On事件绑定使用方法
本篇文章介绍了,关于jQuery新的事件绑定机制on()的使用技巧。需要的朋友参考下今天浏览jQuery的deprecated列表,发现live()和die()在里面了,赶紧看了一下,发现从jQuery1.7开始,jQuery引入了全新的事件绑定机制,on()和off()两个函数统一处理事件绑定。因...
分类:Web程序   时间:2014-07-19 17:37:00    阅读次数:346
UVa 10318 Security Panel
题意:给你一个3*3的翻转模版,深色部分表示翻转,浅色部分不变。然后你可以在r*c的矩形里依照模版进行翻转,要求所有点亮所有块。输出最小的步骤。思路:有一点比较好想。每个块至多被翻转一次,翻两次的效果是一样的。这样可以搜索,大约2^25,会超时。考虑剪枝。对于每次翻转,只会影响与它临近的几个块,也就...
分类:其他好文   时间:2014-07-19 00:31:44    阅读次数:278
uva 1586 - Molar mass
在想更好的处理方法,现在却只能有这个糟烂的代码了……不好意思#include #include #include using namespace std; const int maxn=200; char s[maxn]; double ans[maxn]; int get_num(int pos,int len) { int temp; for(int i=pos;i<len...
分类:其他好文   时间:2014-07-18 18:07:51    阅读次数:220
UVa 11583 Partitioning by Palindromes
?? Description Problem H: Partitioning by Palindromes We say a sequence of characters is a palindrome if it is the same written forwards and backwards. For example, 'racecar' is a palindrome,...
分类:其他好文   时间:2014-07-18 15:13:10    阅读次数:266
10294 - Arif in Dhaka (First Love Part 2) (数论置换)
UVA 10294 - Arif in Dhaka (First Love Part 2) 题目链接 题意:给定n个珠子,t种颜色, 问能组成几个项链和手镯(手镯能翻转,项链不能) 思路:利用Burnside求解,推理出旋转的循环个数是gcd(i, n),翻转的分为奇偶情况考虑 代码: #include #include const int N = 30; in...
分类:其他好文   时间:2014-07-18 15:12:41    阅读次数:215
UVA 12103 - Leonardo's Notebook(数论置换群)
UVA 12103 - Leonardo's Notebook 题目链接 题意:给定一个字母置换B,求是否存在A使得A^2=B 思路:任意一个长为 L 的置换的k次幂,会把自己分裂成gcd(L,k) 分, 并且每一份的长度都为 L / gcd(l,k),因此平方对于奇数长度不变,偶数则会分裂成两份长度相同的循环,因此如果B中偶数长度的循环个数不为偶数必然不存在A了 代码: ...
分类:其他好文   时间:2014-07-18 15:12:10    阅读次数:300
UVA 11077 - Find the Permutations(递推)
UVA 11077 - Find the Permutations 题目链接 题意:给定n,k求出有多少个包含元素[1-n]的序列,交换k次能得到一个[1,2,3...n]的序列 思路:递推dp[i][j]表示i个元素需要j次,那么在新加一个元素的时候,添在最后面次数不变,其余位置都是次数+1,这是可以证明的,原序列中有几个循环,需要的次数就是所有循环长度-1的和,那么对于新加一...
分类:其他好文   时间:2014-07-18 15:10:12    阅读次数:230
UVA - 12232 Exclusive-OR (并查集扩展偏离向量)
Description You are not given n non-negative integers X0, X1,..., Xn-1 less than 220, but they do exist, and their values never change. I'll gradually provide you some facts about them, and as...
分类:其他好文   时间:2014-07-18 13:35:47    阅读次数:458
UVA 10042 Smith Numbers(数论)
Smith Numbers Background While skimming his phone directory in 1982, Albert Wilansky, a mathematician of Lehigh University , noticed that the telephone number of his brother-in-law H. Smith had ...
分类:其他好文   时间:2014-07-18 13:28:06    阅读次数:234
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!