1 #include 2 #include 3 4 using namespace std; 5 6 int main() 7 { 8 string s1, s2, s3, s4; 9 cin >> s1 >> s2 >> s3 >> s4;10 string d...
分类:
其他好文 时间:
2015-08-13 14:20:47
阅读次数:
85
最近发现S4的通话距离感应起出了问题,接电话后直接熄屏,按什么按钮都没有反应。通话结束后只能等对方挂断才会恢复正常,再或者长按9秒电源键强制重启。极大的影响了实用体验。网上搜了下,发现这样的问题还不少。都是什么拆机清洁距离感应器了,送修等解决办法,耗时耗力还费钱。于是请教了两位大神,一位在做手机的预...
分类:
其他好文 时间:
2015-08-12 01:15:02
阅读次数:
168
1:string对象的定义和初始化以及读写 string s1; 默认构造函数,s1为空串 string s2(s1); 将s2初始化为s1的一个副本 string s3("valuee"); 将s3初始化一个字符串面值副本 string s4(n,'c'); 将s4 初始化为字符...
分类:
其他好文 时间:
2015-08-11 15:27:20
阅读次数:
82
话说这题读起来真费劲啊,估计很多人做不出来就是因为题读不懂......从题目中提取的几点关键点:题目背景就是银河系(Rho Galaxy)中的星球都是绕着他们的质心(center of mass)转的(妈蛋就是这里啊,质心是个什么鬼...,其实就是所有点的值的算术平均值)。现在你可以从一个银河系中的...
分类:
其他好文 时间:
2015-08-10 01:44:50
阅读次数:
151
作用:包含处理文本的常量和类。1、capwords():将一个字符串中所有单词的首字母大写。1 >>> import string2 >>> s = 'The quick brown fox jumped over the lazy dog.'3 >>> print s4 The quick bro...
分类:
编程语言 时间:
2015-08-09 12:18:25
阅读次数:
530
Galaxy
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others)
Total Submission(s): 2800 Accepted Submission(s): 684
Special Judge
Problem Description
Good ...
分类:
其他好文 时间:
2015-08-04 15:46:24
阅读次数:
102
Connections in Galaxy WarTime Limit:3 Seconds Memory Limit:32768 KBIn order to strengthen the defense ability, many stars in galaxy allied together an...
分类:
其他好文 时间:
2015-08-04 11:07:25
阅读次数:
104
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 t.....
分类:
其他好文 时间:
2015-08-02 21:31:44
阅读次数:
112
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-08-02 21:19:49
阅读次数:
111
原题:DescriptionAndrewid the Android is a galaxy-famous detective. In his free time he likes to think about strings containing zeros and ones.Once he th...
分类:
其他好文 时间:
2015-08-02 20:00:41
阅读次数:
135