码迷,mamicode.com
首页 >  
搜索关键字:ikkis problem    ( 37569个结果
Delphi Internal Error L681
Delphi Internal Error L681Although this specific example doesn't reproduce the problem in a small project, this caused the problem in a larger project...
分类:其他好文   时间:2014-06-27 14:34:33    阅读次数:421
[leetcode] N-Queens
The n-queens puzzle is the problem of placing n queens on an n×n chessboard such that no two queens attack each other.
分类:其他好文   时间:2014-06-27 12:05:45    阅读次数:251
UVA11090 Going in Cycle!! (二分+SPFA判断有无负权)
I I U P C 2 0 0 6 Problem G: Going in Cycle!! Input: standard input Output: standard output   You are given a weighted directed graph with n vertices and...
分类:其他好文   时间:2014-06-27 08:07:16    阅读次数:183
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
最小生成树(卡鲁斯卡尔)
http://acm.sdut.edu.cn/sdutoj/problem.php?action=showproblem&problemid=2896最小生成树:n个顶点n-1条边本题因为有50000个点,所以只能用Kuscal#include#include#include#include#inc...
分类:其他好文   时间:2014-06-26 14:40:34    阅读次数:279
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
证明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
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!