码迷,mamicode.com
首页 >  
搜索关键字:a strange lift    ( 510个结果
HDU 1548 A strange lift
A strange lift Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 14488    Accepted Submission(s): 5497 Problem Description There is a str...
分类:其他好文   时间:2015-05-15 21:28:10    阅读次数:175
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 #in...
分类:其他好文   时间:2015-05-15 19:31:56    阅读次数:121
解题报告 之 POJ2891 Strange Way to Express Integers
POJ2891 ,Strange Way to Express Integers,线性同余方程组,数论 Elina is reading a book written by Rujia Liu, which introduces a strange way to express non-negative integers. The way is described as following: Choose k different positive integers a1, a2, …, ak. For so...
分类:其他好文   时间:2015-05-12 09:27:12    阅读次数:183
UVa 10801 Lift Hopping【floyd 】
题意:给出n个电梯,每个电梯的运行时间,每个电梯只能在相应的楼层停靠,而且没有楼梯,再给出想去的楼层,问从0层能否到达想去的楼层,求到达的最短时间建图还是没有建出来---因为n 2 #include 3 #include 4 #include 5 #include 6 #include...
分类:其他好文   时间:2015-05-10 18:49:27    阅读次数:155
vs2010 不同文件夹有相同文件的处理。
http://stackoverflow.com/questions/3695174/visual-studio-2010s-strange-warning-lnk4042不同文件夹有相同文件 ,2010会在同一个文件夹下生成同样的obj文件,会造成冲突。每一个cpp生成一个obj文件在debug目...
分类:其他好文   时间:2015-05-04 23:48:39    阅读次数:200
Strange Country II ( 简单的dfs,但是要注意细节)
Strange Country II You want to visit a strange country. There are n cities in the country. Cities are numbered from 1 to n. The unique way to travel in the country is taking planes. Strangely, in t...
分类:其他好文   时间:2015-05-04 22:13:34    阅读次数:111
Strange Way to Express Integers(中国剩余定理+不互质)
Strange Way to Express IntegersTime Limit:1000MS Memory Limit:131072KB 64bit IO Format:%I64d & %I64uSubmit Status Practice POJ 2891DescriptionElina is...
分类:其他好文   时间:2015-05-03 07:02:17    阅读次数:126
Strange Way to Express Integers(中国剩余定理+不互质)
Strange Way to Express Integers Time Limit:1000MS     Memory Limit:131072KB     64bit IO Format:%I64d & %I64u Submit Status Practice POJ 2891 Appoint description:  System Crawler  (2015-04...
分类:其他好文   时间:2015-05-03 00:50:18    阅读次数:286
杭电 HDU ACM Strange fuction
Strange fuction Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 4124    Accepted Submission(s): 2964 Problem Description Now, here is a...
分类:其他好文   时间:2015-05-01 12:05:13    阅读次数:115
poj 3107 Godfather (树形dp)
Godfather Time Limit: 2000MS   Memory Limit: 65536K Total Submissions: 5064   Accepted: 1769 Description Last years Chicago was full of gangster fights and strange mu...
分类:其他好文   时间:2015-04-29 21:41:28    阅读次数:116
510条   上一页 1 ... 31 32 33 34 35 ... 51 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!