摘要:
A regular palindrome is a string of numbers or letters that is the same forward as backward. For example, the string "ABCDEDCBA"is a palindrome because it is the same when the string is read from left to right as when the string is read from right to left.A mirrored string is a string for 阅读全文
posted @ 2012-01-16 23:10
Shirlies
阅读(682)
评论(0)
推荐(0)
摘要:
#include "stdio.h"int main(){int count;char ch;int ok=0;while((ch=getchar())!=EOF){ok=0;count=0;while(ch!='\n'){if((ch>='A'&&ch<='Z')||(ch>='a'&&ch<='z'))ok=1;if(ok&&!((ch>='A'&&ch<='Z' 阅读全文
posted @ 2012-01-16 13:08
Shirlies
阅读(181)
评论(0)
推荐(0)
浙公网安备 33010602011771号