码迷,mamicode.com
首页 >  
搜索关键字:fzu problem 2168 防守阵    ( 37901个结果
POJ 2996 Help Me with the Game (模拟)
题目链接:http://poj.org/problem?id=2996 POJ...
分类:其他好文   时间:2014-06-15 20:16:37    阅读次数:253
poj 3233 Matrix Power Series(等比矩阵求和)
http://poj.org/problem?id=3233 ps转: 用二分方法求等比数列前n项和:即   原理:   (1)若n==0   (2)若n%2==0     (3)若n%2==1 代码如下: LL sum(LL p,LL n) { if(n==0) return 1; i...
分类:其他好文   时间:2014-06-15 20:01:44    阅读次数:210
ACdream原创群赛(11)の风神日华神专场 C.神奇的%系列一
神奇的%系列一 Time Limit: 6000/3000 MS (Java/Others)      Memory Limit: 65536/32768 KB (Java/Others) Problem Description 在计算机的世界里,%不是百分比,而是除法取余哟! 比如:   4 % 2 = 0   5 % 3 = 2 给你 2 其中:1 ...
分类:其他好文   时间:2014-06-15 19:02:22    阅读次数:220
杭电 3711 Binary Number
Binary Number Time Limit: 4000/2000 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 1287    Accepted Submission(s): 807 Problem Description For 2 non-negativ...
分类:其他好文   时间:2014-06-15 18:17:35    阅读次数:204
POJ 2993 Emag eht htiw Em Pleh (模拟)(strtok 应用)
题目链接:http://poj.org/problem?id=2993 这个题和POJ 2996属于姊妹题,POJ 2996集体报告见:http://blog.csdn.net/codehypo/article/details/30281829 就是给你黑白双方的每个棋子的信息(是哪种,以及坐标),然后填充这个棋盘,并打印。   其实这个题目比2996还要简单,不过这个题我尝试用了一下前几...
分类:其他好文   时间:2014-06-15 17:01:56    阅读次数:216
poj 3150 Cellular Automaton(矩阵快速幂)
http://poj.org/problem?id=3150 大致题意:给出n个数,问经过K次变换每个位置上的数变为多少。第i位置上的数经过一次变换定义为所有满足 min( abs(i-j),n-abs(i-j) ) 思路: 我们先将上述定义表示为矩阵 B =  1 1 0 0 1 1 1 1 0 0 0 1 1 1 0 0 0 1 1 1 1 0 0 1 1...
分类:其他好文   时间:2014-06-15 16:14:14    阅读次数:169
poj1573 Robot Motion
题目链接: http://poj.org/problem?id=1573 题目: Robot Motion Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 10202   Accepted: 4971 Description A robot h...
分类:其他好文   时间:2014-06-14 07:44:51    阅读次数:244
杭电OJ(HDU)-ACMSteps-Chapter Two-《An Easy Task》《Buildings》《decimal system》《Vowel Counting》
http://acm.hdu.edu.cn/game/entry/problem/list.php?chapterid=1&sectionid=21.2.5 #include /* 题意:找闰年。 if((i%4==0 && i%100!=0) || i%400==0)count++; 3 2005 25 1855 12 2004 10000 2108 1904 43236 */ int ma...
分类:其他好文   时间:2014-06-14 06:32:08    阅读次数:320
杭电 1711 Number Sequence
Number Sequence Time Limit: 10000/5000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 10239    Accepted Submission(s): 4656 Problem Description Given two se...
分类:其他好文   时间:2014-06-14 00:22:38    阅读次数:243
hdu3669之二维斜率DP
Cross the Wall Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 327680/327680 K (Java/Others) Total Submission(s): 4176    Accepted Submission(s): 748 Problem Description “Across th...
分类:其他好文   时间:2014-06-13 20:43:09    阅读次数:280
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!