摘要: 要注意的地方就是s[i].a.find(c)>=0 是不对的 可以先赋值再比较 也可以改成!=-1 切记切记 或者用string::npos 阅读全文
posted @ 2016-02-20 22:42 dreamer123 阅读(181) 评论(0) 推荐(0) 编辑
摘要: 1 # include 2 # include 3 # include 4 # include 5 using namespace std; 6 int b[100]; 7 int k=0; 8 int c[9]; 9 void search(int cur,int sum) 10 { 11 if(cur==9) b[k++]=sum; 12 else 13 ... 阅读全文
posted @ 2016-02-20 16:36 dreamer123 阅读(168) 评论(0) 推荐(0) 编辑