摘要:
我又来写题解了~~~ #include<cstdio>#include<cstring>#include<queue>using namespace std;const int maxn=305;bool mp[maxn][maxn]; int sx,sy,tx,ty,l; int tox[]={1 阅读全文
posted @ 2020-03-27 22:47
nhflsoiers
阅读(161)
评论(0)
推荐(0)
摘要:
上次写完IDA*+曼哈顿,这次来一个双向BFS+map(别问我怎么那么多做法) #include<bits/stdc++.h>using namespace std;typedef long long ll;inline ll read() { ll f=1,x=0; char ch; do { c 阅读全文
posted @ 2020-03-27 20:57
nhflsoiers
阅读(114)
评论(0)
推荐(0)
摘要:
我又来写题解了~~~ 我的方法:IDA*+曼哈顿 代码奉上,客官慢慢享用~ #include<bits/stdc++.h>using namespace std;string st,ed;int depth;int hfunc(string st){ int ans=0; for (register 阅读全文
posted @ 2020-03-27 15:32
nhflsoiers
阅读(102)
评论(2)
推荐(0)
摘要:
想当年,全部人都在评论区里刷我的名字~ ε=(´ο`*)))唉泪,奔涌 不过为了帮助广大群众,我还是选择写了这份题解…… 题目不想说了…… 代码如下: #include<bits/stdc++.h>#define P pair<LL,LL>#define f(x) x.first#define s( 阅读全文
posted @ 2020-03-27 14:08
nhflsoiers
阅读(196)
评论(0)
推荐(0)
摘要:
1 #include<iostream> 2 #include<algorithm> 3 #include<string> 4 #include<cstring> 5 #include<queue> 6 using namespace std; 7 int dx[]={0,0,1,-1}; 8 in 阅读全文
posted @ 2020-03-27 13:42
nhflsoiers
阅读(113)
评论(0)
推荐(0)
浙公网安备 33010602011771号