摘要: 如何提取一个字符串中需要的片段:strchr 返回找到匹配位置的指针getchar() 什么字符都吸收Problem IAutomatic Poetry Input: standard inputOutput: standard outputTime Limit: 2 secondsMemory L... 阅读全文
posted @ 2014-04-08 19:54 NYNU_ACM 阅读(147) 评论(0) 推荐(0) 编辑
摘要: #include#include#include#includeusing namespace std ;char grid[100][100] , word[100] ;int n , m ;int x[] = {-1 , -1 , -1 , 0 , 0 , 1 , 1 , 1} ;int y[]... 阅读全文
posted @ 2014-04-08 11:39 NYNU_ACM 阅读(120) 评论(0) 推荐(0) 编辑
摘要: #include#include#include#includeusing namespace std ;char grid[100][100] , word[100] ;int n , m ;int x[] = {-1 , -1 , -1 , 0 , 0 , 1 , 1 , 1} ;int y[]... 阅读全文
posted @ 2014-04-08 11:39 NYNU_ACM 阅读(128) 评论(0) 推荐(0) 编辑