随笔分类 -  字符串

HDOJ 1039 Easier Done Than Said? 简单的字符串处理
摘要:#include"stdio.h" #include"string.h" int vo(char *psw,int i) {return (psw[i]=='a'||psw[i]=='e'||psw[i]=='i'||psw[i]=='o'||psw[i]=='u');} int main() { char psw[21],ans[2][15]={{"not acceptable"},{"acceptable"}}; while(get 阅读全文

posted @ 2012-02-28 00:55 andy_ 阅读(216) 评论(0) 推荐(0)

导航