摘要:
字符串的翻转注意一些特殊的情况即可View Code 1 /* 2 字符翻转 3 注意这种情况:_ _ ab_ _ _cc_ _ 4 "_"都是要输出的 5 6 */ 7 #include<stdio.h> 8 #include<string.h> 9 const int maxn = 1105;10 char s[ maxn ];11 int main(){12 int n;13 scanf("%d",&n);14 getchar();15 while( n-- ){16 int len;17 gets( s );18 阅读全文
posted @ 2012-12-16 22:52
xxx0624
阅读(566)
评论(0)
推荐(0)

浙公网安备 33010602011771号