摘要: 1 #include 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 8 const int MaxSize = 210; 9 10 vector a; 11 string suba; 12 int index;//find the smallest to be the pa... 阅读全文
posted @ 2018-05-08 19:36 duck_lu 阅读(457) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 7 const int INF = 1e6; 8 9 vector a; 10 string suba; 11 string rsuba; 12 13 int main(void) 14 { 15 int cas; 16... 阅读全文
posted @ 2018-05-08 19:30 duck_lu 阅读(116) 评论(0) 推荐(0) 编辑
摘要: 在编码问题上困住了好久,对BeautifulSoup的问题在上一篇blog也分析了 最后写文件的时候用的gb18030编码解决的 UnicodeEncodeError: 'gbk' codec can't encode character '\xXX' in position XX 哎,我就是载在了 阅读全文
posted @ 2018-05-08 19:23 duck_lu 阅读(130) 评论(0) 推荐(0) 编辑