ProblemYou want your UI components to have 
gravity, so that if they are dragged up to the top of the screen, they will 
descend on their own. Combining...
                            
                            
                                分类:
其他好文   时间:
2014-06-02 20:01:49   
                                阅读次数:
243
                             
                         
                    
                        
                            
                            
                                TOJ 614173971
HDU 宇智波佐助
POJ shiai
ZOJ henyumen
UVa henyumen
Light OJ HENYUMEN...
                            
                            
                                分类:
其他好文   时间:
2014-06-01 13:59:09   
                                阅读次数:
210
                             
                         
                    
                        
                            
                            
                                题目:
        链接:点击打开链接
题意:
思路:
        dp[i][j]表示前i个箱子装j钱的材料能够得到的最大价值。
代码:
#include
#include
#include
using namespace std;
#define MAXN 100010
int dp[55][MAXN];
int main()
{
    //freopen("inpu...
                            
                            
                                分类:
其他好文   时间:
2014-06-01 13:57:14   
                                阅读次数:
270
                             
                         
                    
                        
                            
                            
                                题目:
        链接:点击打开链接
题意:
        很明显的依赖背包。
思路:
代码:...
                            
                            
                                分类:
其他好文   时间:
2014-06-01 12:56:54   
                                阅读次数:
313
                             
                         
                    
                        
                            
                            
                                题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2089题意:给出一个区间[l,r],求满足一个数的数位上没有连着62这个数字串的条件的个数。解法:数位DP的入门题。 
1 #include 2 #include 3 #include 4 #include...
                            
                            
                                分类:
其他好文   时间:
2014-06-01 12:27:14   
                                阅读次数:
229
                             
                         
                    
                        
                            
                            
                                湫湫系列故事——植树节Time Limit: 1000/500 MS (Java/Others) 
Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 1025 Accepted 
Submission(s): 604P...
                            
                            
                                分类:
其他好文   时间:
2014-06-01 12:09:46   
                                阅读次数:
143
                             
                         
                    
                        
                            
                            
                                MinesTime Limit: 10000/5000 MS (Java/Others)Memory 
Limit: 65536/65536 K (Java/Others)Total Submission(s): 1110Accepted 
Submission(s): 280Problem Descr...
                            
                            
                                分类:
其他好文   时间:
2014-06-01 11:38:48   
                                阅读次数:
312
                             
                         
                    
                        
                            
                            
                                Description
Some strange code is sent to Da Shan High School. It's said to be the prophet's note. The note is extremely hard to understand. However, Professor Meng is so smart that he successfully ...
                            
                            
                                分类:
其他好文   时间:
2014-06-01 09:18:38   
                                阅读次数:
246
                             
                         
                    
                        
                            
                            
                                我们通过nio学习了Reactor模式,但是在java7中又出现了NIO.2,新的异步框架出来了,在上节中的服务端视线中看不到Reactor的影子了,但是Netty in action中写到:But notice that NIO.2 handles threading and the creation of the so-called event loop for you.所以模式还是没变,只是封装了而已!那让我们来分解下AIO(NIO.2)的封装吧!...
                            
                            
                                分类:
其他好文   时间:
2014-06-01 01:40:11   
                                阅读次数:
388
                             
                         
                    
                        
                            
                            
                                OO(ObjectOriented,面向对象),用一张图表示OO进行系统开发的特性:
 
             
 
SO(Service-Oriented,面向服务),用一张图表示SO系统开发与运行的特性:
                   
                           
        
通过这两图的对比,如果抽象一点来说的话,这两张图其实都是...
                            
                            
                                分类:
其他好文   时间:
2014-05-31 22:37:18   
                                阅读次数:
567