fishes专题

Codeforces Round #456 (Div. 2) D. Fishes(BFS)

题目链接:http://codeforces.com/contest/912/problem/D 题目是挺简单的。。。可是我怎么就没想到去bfs去搜呢???我大概是个zz吧 代码: #include<bits/stdc++.h>#define mp make_pair#define xx first#define yy secondusing namespace st