迴文串的一種很是簡單的解法(C++)

就是利用常量數組來判斷是否鏡像,代碼以下。ios #include<stdio.h>git #include<iostream> #include<string.h> #include<ctype.h> using namespace std; char rStr[100]={'A',' ',' ',' ','3',' ',' ','H','I','L',' ','J','M',' ','O','
相關文章
相關標籤/搜索