摘要:
#include #include using namespace std;void reverse(char* str) { int length = strlen(str); char* str_head = str; char* str_tail = &str[length-1]; w... 阅读全文
posted @ 2014-08-31 05:44
vindicated
阅读(86)
评论(0)
推荐(0)
摘要:
#include #include #include using namespace std;bool StringIsUnique(string s) { sort(s.begin(),s.end()); for (auto p = s.begin(); p != s.end()-1;) { ... 阅读全文
posted @ 2014-08-31 05:42
vindicated
阅读(88)
评论(0)
推荐(0)

浙公网安备 33010602011771号