码迷,mamicode.com
首页 >  
搜索关键字:strange fuction    ( 492个结果
javascript模块化开发初探
//immediately-invoked fuction expression iife;(function(arg){ return something;})(arg);//第二种写法 !function(arg){}(arg);//第三种写法(function(arg){}(arg)...
分类:编程语言   时间:2014-11-06 20:01:03    阅读次数:173
第二十次codeforces竞技结束 #276 Div 2
真是状况百出的一次CF啊…… 最终还Unrated了,你让半夜打cf 的我们如何释怀(中途茫茫多的人都退场了)……虽说打得也不好…… 在这里写一下这一场codeforces的解题报告,A-E的 题目及AC代码,部分题目有简单评析,代码还算清晰,主要阅读代码应该不难以理解。...
分类:其他好文   时间:2014-11-06 07:06:51    阅读次数:237
poj 2891 Strange Way to Express Integers (解模线性方程组)
题意:有一个数x,给定k组ai和ri,使得x%ai=ri 求x最小为多少 分析:求解模线性方程组   x = a1(mod m1)   x = a2(mod m2)   x = a3(mod m3)      先求解方程组前两项。 x=m1*k1+a1=m2*k2+a2  -> m1*k1+m2*(-k2)=a2-a1...
分类:其他好文   时间:2014-11-05 17:21:01    阅读次数:159
POJ3107——Godfather
Godfather Time Limit: 2000MS   Memory Limit: 65536K Total Submissions: 4853   Accepted: 1671 Description Last years Chicago was full of gangster fights and strange murder...
分类:其他好文   时间:2014-11-03 19:26:31    阅读次数:192
POJ2891——Strange Way to Express Integers(模线性方程组)
Strange Way to Express IntegersDescriptionElina is reading a book written by Rujia Liu, which introduces a strange way to express non-negative integer...
分类:其他好文   时间:2014-10-30 20:47:17    阅读次数:242
杭电 1548 A strange lift(广搜)
http://acm.hdu.edu.cn/showproblem.php?pid=1548A strange liftTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submi...
分类:其他好文   时间:2014-10-25 20:05:08    阅读次数:224
sdut2623--The number of steps(概率dp第一弹)
The number of steps Time Limit: 1000ms   Memory limit: 65536K  有疑问?点这里^_^ 题目描述     Mary stands in a strange maze, the maze looks like a triangle(the first layer have one room,the ...
分类:其他好文   时间:2014-10-22 20:22:52    阅读次数:235
HDU 2899 Strange fuction (二分)
Strange fuctionTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3301Accepted Submission(s): 2421Pro...
分类:其他好文   时间:2014-10-16 21:19:13    阅读次数:183
poj1837--Balance(dp:天平问题)
Balance Time Limit: 1000MS   Memory Limit: 30000K Total Submissions: 10773   Accepted: 6685 Description Gigel has a strange "balance" and he wants to poise it. Actually, th...
分类:其他好文   时间:2014-10-15 10:24:30    阅读次数:242
Light OJ 1318 Strange Game 组合数+快速幂+分解因子
长度为l的用k种字符组成的字符串有k^l中 其中m个字符要不相同 那就是k^l*C(l, m)*(k-1)^m 有重复 要除以2 但是你mod n了 不能直接除 n不一定是素数 所以不能乘以逆元 所以我都mod 2倍的n 最后的结果再除以2 特判l = 1 和 m = 0的情况 #include #include #include using namespace std; typedef...
分类:其他好文   时间:2014-10-02 01:18:31    阅读次数:441
492条   上一页 1 ... 41 42 43 44 45 ... 50 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!