随笔分类 -  搜索

hdu1238 Substrings
摘要:1 #include <vector> 2 #include <string> 3 #include <iostream> 4 #include <algorithm> 5 using namespace std; 6 bool vv(const string a,const string b) 7 { 8 return a.length()<b.length(); 9 }10 bool issub(string a,string b)11 {12 for (int i=0;i<=b.length()-a.length();i++)1 阅读全文
posted @ 2013-05-17 16:19 雪落尘 阅读(172) 评论(0) 推荐(0)