`scanf("%c",&s);`
可能是这个问题?
by Planet6174 @ 2018-08-17 08:25:05
@[Planet6174](/space/show?uid=29762) 这是为了读换行
by Crystron_Halqifibrax @ 2018-08-17 08:29:34
好吧,char写成了int,不过还是不对呀
by Crystron_Halqifibrax @ 2018-08-17 08:31:00
@[飞翔的OI梦](/space/show?uid=65924)
唔,明白了
by Planet6174 @ 2018-08-17 08:33:55
这题怎么能用 DFS 呢
应该是 BFS
by Planet6174 @ 2018-08-17 08:34:11
重写吧
by Planet6174 @ 2018-08-17 08:34:26
改了改变成1A1W8T,但是dfs和bfs不是通用的吗,不懂啊
by Crystron_Halqifibrax @ 2018-08-17 08:35:53
@[Planet6174](/space/show?uid=29762)
by Crystron_Halqifibrax @ 2018-08-17 08:36:04