如果在while(!q.empty())循环里不写if(vis[u])continue;复杂度会有很明显的变化吗?
while(!q.empty())
if(vis[u])continue;
或者说,不写这句话会被什么数据卡?
我是菜鸡