UVaOj 494 Kindergarten Counting Game
摘要:
复习了the C programming language 中的单词记数/*494 - Kindergarten Counting Game*/# include <stdio.h># include <ctype.h># define IN 1# define OUT 0int main(){ int ans,state; char ch; ans = 0; state = OUT; while ((ch=getchar()) != EOF) { if (!isalpha(ch) && ch!='\n') state =... 阅读全文
posted @ 2012-02-19 13:39 getgoing 阅读(312) 评论(0) 推荐(0) 编辑