摘要: 在黄霖的博客里看到这道题 是他们湘大比赛的一道 刚开始自己想的比较复杂 一看他 的 代码 原来这么简单 啊啊~TAT。。。看完他的思想 自己在写了一遍,其实 写的 和他差不多啦。。#include<stdio.h>#include<string.h>int main(){ int i,j,n,m,len,k,num,f[10010]; char s[10100]; while(~scanf("%d",&n)) { while(n--) { scanf("%s",s+1); len=strlen(s+1); f[0]=0; 阅读全文
posted @ 2013-05-24 22:45 galaxy77 阅读(146) 评论(0) 推荐(0) 编辑