A Famous Stone Collector
Problem Description
Mr. B loves to play with colorful stones. There are n colors of stones in his collection. Two stones with the same color are indistinguishable. M...
                            
                            
                                分类:
其他好文   时间:
2014-07-30 17:41:44   
                                阅读次数:
287
                             
                    
                        
                            
                            
                                打开Elcipse,点击菜单栏上的“Windows”——点击“Preferences”——点击“Genneral”——点击“Appearance”——点击“Colors and Font”——在右侧框展开“Basic”文件夹--双击“Text Font”——在弹出窗选择“Courier New”(注...
                            
                            
                                分类:
系统相关   时间:
2014-07-30 11:29:33   
                                阅读次数:
267
                             
                    
                        
                            
                            
                                50 years, 50 colors
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 1516 Accepted Submission(s): 818
Problem Description
On Octorber 21st,...
                            
                            
                                分类:
其他好文   时间:
2014-07-29 13:09:57   
                                阅读次数:
291
                             
                    
                        
                            
                            
                                题目:Given an array with n objects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the order r....
                            
                            
                                分类:
编程语言   时间:
2014-07-28 11:34:20   
                                阅读次数:
297
                             
                    
                        
                            
                            
                                Eclipse在安装完毕后,凝视的字体大小远远小于代码的大小,依照网上查的相关信息窗体——首选项——常规——外观——颜色和字体——基本——文本字体——编辑Window -->Preferences --> General --> Appearance --> Colors and Fonts -.....
                            
                            
                                分类:
系统相关   时间:
2014-07-27 21:39:00   
                                阅读次数:
269
                             
                    
                        
                            
                            
                                Description
You are given a bunch of wooden sticks. Each endpoint of each stick is colored with some color. Is it possible to align the sticks in a straight line such that the colors of the endpoin...
                            
                            
                                分类:
其他好文   时间:
2014-07-26 15:24:43   
                                阅读次数:
294
                             
                    
                        
                            
                            
                                50 years, 50 colors
Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 1507    Accepted Submission(s): 811
Problem Description
On Octo...
                            
                            
                                分类:
其他好文   时间:
2014-07-26 02:44:46   
                                阅读次数:
249
                             
                    
                        
                            
                            
                                Necklace of Beads
Time Limit: 1000MS
 
Memory Limit: 10000K
Total Submissions: 6547
 
Accepted: 2734
Description
Beads of red, blue or green colors are connected togeth...
                            
                            
                                分类:
其他好文   时间:
2014-07-25 11:04:01   
                                阅读次数:
260
                             
                    
                        
                            
                            
                                For the one pass solution... first I tried to build white\blue from red, but not working anyway. Then I referred someone' code, to build red\blue from...
                            
                            
                                分类:
其他好文   时间:
2014-07-22 22:42:54   
                                阅读次数:
212
                             
                    
                        
                            
                            
                                给一个矩阵,里面有一些不同颜色的气球,每次可以消灭一行或一列中某一种颜色的气球,问你在k次及以内,有哪些颜色的气球是无论如何也消不完的。
那么思路就是,对每一种颜色的气球求最小点覆盖,>k 则为答案。
相当于 
poj3041 的加强版,因为矩阵中不是每一个点都是等价的。
#include
#include
#include
#include
#include
#inclu...
                            
                            
                                分类:
其他好文   时间:
2014-07-22 22:38:35   
                                阅读次数:
211