摘要: 题目描述: 给定一个字符串,要求把字符串的前k个字符移到尾部,例如abcdef,前两个字符ab移到尾部,变成cdefab 阅读全文
posted @ 2016-04-22 09:49 郭新晨 阅读(180) 评论(1) 推荐(0) 编辑
摘要: Description Little Johnny has got a new car. He decided to drive around the town to visit his friends. Johnny wanted to visit all his friends, but the 阅读全文
posted @ 2016-04-20 19:04 郭新晨 阅读(231) 评论(3) 推荐(0) 编辑
摘要: Description The GX Light Pipeline Company started to prepare bent pipes for the new transgalactic light pipeline. During the design phase of the new p 阅读全文
posted @ 2016-04-19 17:50 郭新晨 阅读(112) 评论(0) 推荐(0) 编辑
摘要: #include <iostream>#include <cstdio>#include <cmath> #include <string>#include <vector> using namespace std; bool compSameLen(char* first, char* secon 阅读全文
posted @ 2016-04-18 16:42 郭新晨 阅读(214) 评论(6) 推荐(0) 编辑
摘要: Description You, as a member of a development team for a new spell checking program, are to write a module that will check the correctness of given wo 阅读全文
posted @ 2016-04-18 11:42 郭新晨 阅读(123) 评论(1) 推荐(0) 编辑
摘要: http://physbam.stanford.edu/~fedkiw/ 阅读全文
posted @ 2016-04-18 11:09 郭新晨 阅读(209) 评论(0) 推荐(0) 编辑
摘要: Description New convocation of The Fool Land's Parliament consists of N delegates. According to the present regulation delegates should be divided int 阅读全文
posted @ 2016-04-12 19:22 郭新晨 阅读(171) 评论(6) 推荐(0) 编辑
摘要: #include <iostream>#include <cstdio>#include <cmath>#include <stack>#include <string> using namespace std; int main(){ char command[16]; char url[71]; 阅读全文
posted @ 2016-04-12 13:43 郭新晨 阅读(164) 评论(0) 推荐(0) 编辑
摘要: Description Standard web browsers contain features to move backward and forward among the pages recently visited. One way to implement these features 阅读全文
posted @ 2016-04-11 19:22 郭新晨 阅读(212) 评论(2) 推荐(0) 编辑
摘要: #include <iostream>#include <cstdio>#include <cmath> int main(){ int num; while (scanf_s("%d",&num) != EOF) { int cnt = 2; long long testNum = 11; whi 阅读全文
posted @ 2016-04-11 12:19 郭新晨 阅读(165) 评论(3) 推荐(0) 编辑