版本比较
4-26总结
正文
增加 6 行删除 6 行
91 行未改动9293949596969798991001001011021031048 行未改动11311411511611711711811911912012112212375 行未改动19920020120220320320420520520620720891 行未改动 cin>>a[i][j]; } } cin>>stx>>sty>>enx>>eny;
char s;cin>>s; if(s=='N') fx=0;if(s=='E') fx=1; if(s=='S') fx=2;if(s=='W') fx=3;
bfs(); int mn=1e9,f=1; for(int i=0;i<4;i++){ mn=min(mn,d[enx][eny][i]);8 行未改动(01,-1) (01,00) (01,01)*/signed main(){ ios::sync_with_stdio(0);cin.tie(0);cout.tie(0);
solve();
return 0;}```
75 行未改动 }}signed main(){ ios::sync_with_stdio(0);cin.tie(0);cout.tie(0);
solve();
return 0;}```