码迷,mamicode.com
首页 >  
搜索关键字:ikkis problem    ( 37569个结果
2014 Super Training #10 C Shadow --SPFA/随便搞
原题: FZU 2169http://acm.fzu.edu.cn/problem.php?pid=2169这题貌似有两种解法,DFS和SPFA,但是DFS怎么都RE,SPFA也要用邻接表表示边,用向量表示的话会TLE,而且用SPFA有一个异或,就是题目说要沿最短路走到都城,但是SPFA是走最短路去...
分类:其他好文   时间:2014-07-09 15:37:19    阅读次数:226
2014 Super Training #10 D 花生的序列 --DP
原题: FZU 2170http://acm.fzu.edu.cn/problem.php?pid=2170这题确实是当时没读懂题目,连样例都没想通,所以没做了,所以还是感觉这样散漫的做不好,有些题目明明很简单,却因为没看懂而放弃了,甚至去玩了,这样达不到太大的效果。解法:定义: dp[i][j]:...
分类:其他好文   时间:2014-07-09 15:19:53    阅读次数:171
poj 1129 Channel Allocation
http://poj.org/problem?id=1129 1 import java.util.*; 2 import java.math.*; 3 public class Main { 4 public static boolean flag=false; 5 public ...
分类:其他好文   时间:2014-07-09 14:20:09    阅读次数:169
2014 Super Training #10 G Nostop --矩阵快速幂
原题: FZU 2173http://acm.fzu.edu.cn/problem.php?pid=2173一开始看到这个题毫无头绪,根本没想到是矩阵快速幂,其实看见k那么大,就应该想到用快速幂什么的,况且n#include #include #include #include #include #...
分类:其他好文   时间:2014-07-09 14:12:46    阅读次数:243
excel 2007第一次打开时显示there was a problem sending command to the program,再打开一次就能打开了。
excel 2007第一次打开时总是显示there was a problem sending command to the program. 关闭后打开一次就能打开了。 由于装的东西太多,初步怀疑是兼容性的问题. 在Excel option里面的add-in 和 trusted publisher 里面去掉非office的插件. 如下图: ...
分类:其他好文   时间:2014-07-09 12:31:38    阅读次数:246
HDU-4819-Mosaic(二维线段树)
Problem Description The God of sheep decides to pixelate some pictures (i.e., change them into pictures with mosaic). Here's how he is gonna make it: for each picture, he divides the picture into n x...
分类:其他好文   时间:2014-07-09 12:14:13    阅读次数:433
hdu 4848 Wow! Such Conquering! (暴搜+强剪枝)
Wow! Such Conquering! Time Limit: 15000/8000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 0    Accepted Submission(s): 0 Problem Description There ar...
分类:其他好文   时间:2014-07-09 12:05:42    阅读次数:183
hdu 3709 Balanced Number (数位dp)
Balanced Number Time Limit: 10000/5000 MS (Java/Others)    Memory Limit: 65535/65535 K (Java/Others) Total Submission(s): 1871    Accepted Submission(s): 836 Problem Description A balanced...
分类:其他好文   时间:2014-07-09 11:54:01    阅读次数:187
HDU1698 Just a Hook 【线段树】+【成段更新】+【lazy标记】
Just a Hook Time Limit: 4000/2000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 15889    Accepted Submission(s): 7897 Problem Description In the game o...
分类:其他好文   时间:2014-07-09 11:35:08    阅读次数:215
shu_1186 字符排列问题
http://202.121.199.212/JudgeOnline/problem.php?cid=1079&pid=23 分析:                  ,                k1,k2,k3为不同单词的个数。 代码:   #include #include #include #include #include #include #i...
分类:其他好文   时间:2014-07-09 09:19:40    阅读次数:221
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!