People in Mars represent the colors in their computers in a similar way as the Earth people. That is, a color is represented by a 6-digit number, wher...
                            
                            
                                分类:
其他好文   时间:
2015-12-06 11:13:10   
                                阅读次数:
131
                             
                         
                    
                        
                            
                            
                                题目信息1027. Colors in Mars (20)时间限制400 ms 
内存限制65536 kB 
代码长度限制16000 BPeople in Mars represent the colors in their computers in a similar way as the Earth people. That is, a color is represented by a 6-d...
                            
                            
                                分类:
其他好文   时间:
2015-12-03 07:16:54   
                                阅读次数:
163
                             
                         
                    
                        
                            
                            
                                众所周知,GE API将会在15年12月25日结束服务,对于众多采用该API的软件,需要一些替换方案。例如google map或者cesiumjshttp://cesiumjs.org/或者尝试D3jshttp://d3js.org/Kartographhttp://kartograph.org/另...
                            
                            
                         
                    
                        
                            
                            
                                1341. DeviceTime limit: 1.0 secondMemory limit: 64 MBMajor (M): You claimed that your device would be able to fly round the Earth several times and to...
                            
                            
                                分类:
其他好文   时间:
2015-11-26 23:22:23   
                                阅读次数:
339
                             
                         
                    
                        
                            
                            
                                第七章 映射和集合能力一 字典(python中唯一的映射类型)1 基本 创建和赋值: 正常创建:>>>dict = {'name':'earth', 'port':80} 用工厂函数dict()创建: >>> fdict = dict((['x', 1], ['y', 2...
                            
                            
                                分类:
编程语言   时间:
2015-11-13 13:00:32   
                                阅读次数:
207
                             
                         
                    
                        
                            
                            
                                import java.util.HashMap;import java.util.Map; public class MapDistance { private static double EARTH_RADIUS = 6378.137; private ...
                            
                            
                                分类:
编程语言   时间:
2015-10-30 14:18:21   
                                阅读次数:
268
                             
                         
                    
                        
                            
                            
                                最初,因为可爱的学弟请教如何将ESRIShapefile文件导入Google Earth接触到了Ogr2Ogr。粗略了解之后发现,这小东西功能强大。 谷歌地球支持矢量数据的展示,前提是数据符合KML或KMZ格式。OGR开源库编写的ogr2ogr支持大约60多种格式矢量数据的读写,下面以Shp—...
                            
                            
                                分类:
其他好文   时间:
2015-10-15 18:30:14   
                                阅读次数:
187
                             
                         
                    
                        
                            
                            
                                1.决不要创建一个不包括0在内的枚举类型2.举例如下:public enum Planet { Mercury = 1, Venus = 2, Earth = 3, Mars = 4, Jupiter = 5, Saturn = 6, Neptune = 7, Uranus = 8, Pluto ....
                            
                            
                         
                    
                        
                            
                            
                                有时候我们在使用Googel官方的json解析包时,如果自己的实体类中出现代参的构造函数.在1.4的jar中,如果类造型中有参数,就会调用不了无参构造器,(如:HashMap的构造器就会有参数)参考博文内容:有时候我们在使用Googel官方的json解析包时,如果自己的实体类中出现代参的构造函数,如...
                            
                            
                                分类:
其他好文   时间:
2015-09-28 10:04:05   
                                阅读次数:
180
                             
                         
                    
                        
                            
                            
                                import?java.util.HashMap;
import?java.util.Map;
public?class?MapDistance?{
???private?static?double?EARTH_RADIUS?=?6378.137;
???private?static?double?rad(double?d)?{
??...
                            
                            
                                分类:
其他好文   时间:
2015-09-17 13:42:11   
                                阅读次数:
170