摘要: Given two words (beginWordandendWord), and a dictionary, find the length of shortest transformation sequence frombeginWordtoendWord, such that:Only on... 阅读全文
posted @ 2015-08-07 22:18 鸭子船长 阅读(181) 评论(0) 推荐(0)
摘要: 转自:http://www.cnblogs.com/xFreedom/archive/2011/05/16/2048037.html要想使用标准C++中string类,必须要包含#include // 注意是,不是,带.h的是C语言中的头文件using std::string;using std::... 阅读全文
posted @ 2015-08-07 21:11 鸭子船长 阅读(201) 评论(0) 推荐(0)