Time Limit: 1000 mSec Memory Limit : 32768 KB
Problem Description
Year 2900. Many people left Earth and built some cities on Mars.
Currently there are N cities, some of which are connected b...
分类:
其他好文 时间:
2015-02-11 16:48:03
阅读次数:
168
1041. Be Unique (20)时间限制100 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueBeing unique is so important to people on Mars that even their lottery i...
分类:
其他好文 时间:
2015-02-10 18:38:54
阅读次数:
216
时间限制50 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueEva loves to collect coins from all over the universe, including some other planets like Mars...
分类:
其他好文 时间:
2015-02-06 11:04:41
阅读次数:
180
时间限制100 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueShopping in Mars is quite a different experience. The Mars people pay by chained diamonds. E...
分类:
其他好文 时间:
2015-02-06 00:37:04
阅读次数:
174
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-02-04 15:55:54
阅读次数:
165
1027. Colors in Mars (20)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YuePeople in Mars represent the colors in their computers in a similar...
分类:
其他好文 时间:
2015-02-03 21:04:50
阅读次数:
136
1 #include 2 #include 3 using namespace std; 4 5 int main() 6 { 7 int R,G,B,i; 8 map mm; 9 for(i=0;i <= 9;i++)10 mm[i]='0'+i;1...
分类:
其他好文 时间:
2015-02-01 00:28:52
阅读次数:
137
最近在学习Mars老师的Android开发课程,仿照http://www.cnblogs.com/Laupaul/archive/2012/02/12/2348293.html的代码来写应用,结果中间出了各种各样的问题,在这里总结一下:
1. java.lang.NullPointerException报错,android.os.NetworkOnMainThreadException异常
原因:urlCon.getInputStream()执行的时候出错导致,得不到InputStream。这个异常大概意思...
分类:
移动开发 时间:
2015-01-20 20:29:19
阅读次数:
302
项目开发中涉及到对象与XML的转换,考虑到代码的简洁性,一直在使用java内置的JAXB来完成这项任务一直在用的方法:staticMap<String,Marshaller>mars
staticMap<String,Unmarshaller>umars这样做的好处是对于相同的类名,不用重复创建marshaller。但在一个银行项目..
分类:
编程语言 时间:
2015-01-14 18:30:02
阅读次数:
668
C++程序文件的额后缀与所运行的具体编译器有关,常见的有:.cc .cxx .cpp .cp .C .c++
这几种后缀名没有区别,如果编译器支持的话,哪种后缀都是一样的,在C++ Primer上给出如下说明:
Unix uses: C, cc, cxx, c
GNU C++ uses: C, cc, cxx, cpp, c++
Digital Mars uses:...
分类:
编程语言 时间:
2015-01-14 09:51:48
阅读次数:
346