题解第一篇题解#include #include #include using namespace std; typedef long long ll; const int dx[4]={0,1,0,-1}; const int dy[4]={1,0,-1,0}; const int P=10…