terminate called after throwing an instance of 'std::bad_alloc'

今天敲代码时忽然碰到一个奇怪的运行bug,有点懵逼,以下。 terminate called after throwing an instance of 'std::bad_alloc' 后来发现个人问题在于跑 b f s bfs bfs的时候没有 p o p pop pop点节点。致使内存炸掉,时间炸掉。 html 相似可能的缘由应该还有 v e c t o r vector vector 不清
相关文章
相关标签/搜索