luogu P6566 [NOI Online #3 入门组]观星

题面传送门 直接 b f s bfs bfs便可。 代码实现:html #include<cstdio> #include<queue> #define max(a,b) ((a)>(b)?(a):(b)) using namespace std; int a[1539][1539],x,y,n,m,k,ans,tot,pus,f[1539][1539],nowx,nowy,d[1539*1539
相关文章
相关标签/搜索