摘要: 样例输入:DBACEGF ABCDEFG 输出:ACBFGEDBCAD CBAD 输出:CDAB 1 #include "stdafx.h" 2 #include 3 #include 4 using namespace std; 5 void show(int n,string lhs,string rhs); 6 int _tmain(int argc, _TCHAR* argv[]) 7 { 8 string s1 = "DBACEGF",s2="ABCDEFG"; 9 int n=s1.size();10 show(n,s1, 阅读全文
posted @ 2014-01-15 11:14 CrazyCode. 阅读(378) 评论(0) 推荐(0)