摘要: 中文题深搜许久没写鸟,卡在输入问题上... 1 #include 2 #include 3 using namespace std; 4 bool flg; 5 int n; 6 char str[5000][2]; 7 bool used[5000]; 8 void dfs(int p) 9 {10 int i;11 if (p >=n || flg) return;12 if (str[p][1] == 'm') 13 {14 flg = true;15 return;16 }17 for (i=0;... 阅读全文
posted @ 2013-07-18 15:36 旅行的蜗牛 阅读(137) 评论(0) 推荐(0) 编辑