iNVAiN

博客园 首页 新随笔 联系 订阅 管理

2013年2月27日 #

摘要: 先自己做了个版本,理清逻辑关系花了不少时间。不动笔脑子里来回绕,一动笔思路就清晰了,看来思维习惯得好好改一下。#include <stdio.h>void main(void){ freopen("original.txt", "r", stdin); freopen("myVersion.txt", "w", stdout); int b, c; b = getchar(); while ( ( c = getchar()) != EOF) { if (c == ' ' || c == 阅读全文
posted @ 2013-02-27 02:37 iNVAiN 阅读(207) 评论(0) 推荐(0)