Time Limit:1000MSMemory Limit:262144KB64bit IO Format:%I64d & %I64uDescriptionAndrewid the Android is a galaxy-famous detective. In his free time he l...
分类:
其他好文 时间:
2015-08-01 15:38:01
阅读次数:
106
A. Case of the Zeros and OnesDescriptionAndrewid the Android is a galaxy-famous detective. In his free time he likes to think about strings containing...
分类:
其他好文 时间:
2015-07-31 21:52:30
阅读次数:
241
Time Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uDescriptionAndrewid the Android is a galaxy-famous detective. In his free time he...
分类:
其他好文 时间:
2015-07-31 21:35:12
阅读次数:
119
Description
Andrewid the Android is a galaxy-famous detective. In his free time he likes to think about strings containing zeros and ones.
Once he thought about a string of length n consisting of ...
分类:
其他好文 时间:
2015-07-31 20:29:06
阅读次数:
129
DescriptionAndrewid the Android is a galaxy-famous detective. In his free time he likes to think about strings containing zeros and ones.Once he thoug...
分类:
其他好文 时间:
2015-07-31 20:18:15
阅读次数:
126
DescriptionAndrewid the Android is a galaxy-famous detective. In his free time he likes to think about strings containing zeros and ones.Once he thoug...
分类:
其他好文 时间:
2015-07-31 20:13:18
阅读次数:
93
// 字符串转换成16进制
public static String toHexString(String s) {
String str = "";
for (int i = 0; i < s.length(); i++) {
int ch = (int) s.charAt(i);
String s4 = Integer.toHexString(ch);
str =...
分类:
其他好文 时间:
2015-07-30 00:52:33
阅读次数:
174
转知乎,怕以后找不到,超级恶心的问题,也是搜索了好久。。。 发个难度十级问题,百度也解决不了的……? 注册的二进制 不符合 GALAXY Specials 的类别条件。 只有当至少有一个二进制支持 GALAXY Specials 时,才...
分类:
Web程序 时间:
2015-07-29 17:29:23
阅读次数:
172
标准库string类型1. string对象的定义与初始化string s1; 默认构造函数,s1为空串string s2(s1); 将s2初始化为s1的一个副本string s3("nwpu"); 将s3初始化为一个字符串字面值副本string s4(n, 'b'); 将s4初始化为字符‘b’的n...
分类:
其他好文 时间:
2015-07-28 00:34:03
阅读次数:
119
题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3261题意:有n个星球编号为0—n-1;能量分别为p[i];有m句话,每句话输入a,b表示星球a和星球b可以相通的;但是由于银河之战,破坏了一些通道接下来有Q句话:d...
分类:
其他好文 时间:
2015-07-27 01:51:55
阅读次数:
133