Yx100100, 六年级蒟蒻||求关注!关注必互关!加个团https://www.luogu.com.cn/team/117550
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
在讨论《dalao求调%%%能尽快吗???谢谢各位dalao帮忙》回复:
这题做了一个月了,从dfs做到bfs,555555.........
```cpp #include using namespace std; const int N=1010; const int dx[4]={-1,1,0,0}; const int dy[4]={0,0,-1,1}; int a[N][N]; int n,m,sx[N],sy[N]; bool vis[N][N];…
在文章《Fan Xiaoyi 中举》发表评论:
《我有一只生魔丸的猫娘@CrystalCore,你快拿到集上去卖了,买几升米来煮餐粥吃》
```cpp #include using namespace std; bool pd(int n){ if(n==1)return false; else if(n==2)return true; for(int i=2;i*i >a>>b; for(int i=a;i<=b;i++){ if(pd(i)&&hw(…
在讨论《建议降普及-,bfs板子题,实在没啥难度》回复:
可以改成入门@[wusheng_](luogu://user/1795848)
在讨论《建议降普及-,bfs板子题,实在没啥难度》回复:
红号到底在说些神马???????%%%@[MoonCake2011](luogu://user/886055)
``` while(!q.empty()){ Node u=q.front(); q.pop(); for(int i=0;i 0&&tx 0&&ty<=m&&!vis[tx][ty]){ vis[tx][ty]=true; cost[tx][ty]=cost[u.x][u.y]+1; q.push({tx,ty});…
```cpp #include using namespace std; int dz[10010][2],tal=0; int dx[9]={0,1,0,1,-1,0,-1,1,-1}; int dy[9]={0,0,1,1,0,-1,-1,-1,1}; const int N=110; int n,i,j; cha…
```cpp #include using namespace std; const int N=1010; int a[N][N]; int n,ans,m; int dx[4]={0,1,0,-1}; int dy[4]={1,0,-1,0}; void dfs(int x,int y){ ans++; int t…
在文章《题解:P5713 【深基3.例5】洛谷团队系统》发表评论:
666,大炮打苍蝇题解
在文章《题解:P5738 【深基7.例4】歌唱比赛》发表评论:
打破0评论惨案