码迷,mamicode.com
首页 >  
搜索关键字:fzu problem 2168 防守阵    ( 37901个结果
hoj3152-Dice 等比数列求和取模
http://acm.hit.edu.cn/hoj/problem/view?id=3152DiceMy Tags (Edit) Source : Time limit : 1 sec Memory limit : 128 MSubmitted : 82, Ac...
分类:其他好文   时间:2014-06-26 14:55:08    阅读次数:261
shu_1746 无平方因子
http://202.121.199.212/JudgeOnline/problem.php?id=1746 analy: 无平方因子数,那就是不同的素因子个数一定不超过1,于是就朝这个方向努力:              先把2—10^9之间的所有素数求出来(也就是到99999989之间的所有素数用bool表打出来)              然后一个一个素因子判断过去;    ...
分类:其他好文   时间:2014-06-26 13:25:49    阅读次数:216
POJ #1141 - Brackets Sequence - TODO: POJ website issue
A bottom-up DP. To be honest, it is not easy to relate DP to this problem. Maybe, all "most"\"least" problems can be solved using DP..Reference:http:/...
分类:Web程序   时间:2014-06-25 18:39:32    阅读次数:235
TJU 4087. box
题目:Tuhao and his two small partners participated in the tournament.But in the end, they lost the chance to finish a mathematical problem.After the com...
分类:其他好文   时间:2014-06-25 18:07:35    阅读次数:333
2-3 tree使用
The2-3 treeis also a search tree like thebinary search tree, but this tree tries to solve the problem of theunbalanced tree.Imagine that you have a bi...
分类:其他好文   时间:2014-06-25 17:28:52    阅读次数:202
证明tmult_ok的正确性
csapp page124. practice problem 2.35/* Determine whether arguments can be multiplied without overflow */int tmult_ok(int x, int y){ int p = x*y; ...
分类:其他好文   时间:2014-06-25 12:47:24    阅读次数:230
Codeforces Round #253 (Div. 2), problem: (B)【字符串匹配】
简易字符串匹配,题意不难 1 #include 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 8 int main(){ 9 int i, j, k, t, n;10 int nu...
分类:其他好文   时间:2014-06-25 12:07:42    阅读次数:145
hdu1305Immediate Decodability(字典树)
这题看是否这题能A是侥幸,解决的办法是先存一下输入的字符串,进行排序。Problem DescriptionAn encoding of a set of symbols is said to be immediately decodable if no code for one symbol is...
分类:其他好文   时间:2014-06-25 11:46:47    阅读次数:248
HDU4405-Aeroplane chess(概率DP求期望)
Aeroplane chess Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 1182    Accepted Submission(s): 802 Problem Description Hzz loves a...
分类:其他好文   时间:2014-06-25 09:03:36    阅读次数:208
HDOJ 1281 棋盘游戏
拆点二分图匹配 棋盘游戏 Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 2146    Accepted Submission(s): 1250 Problem Description 小希和Gardo...
分类:其他好文   时间:2014-06-25 08:48:14    阅读次数:248
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!