这里不需要声明 vector<int> vec
This commit is contained in:
konng
2021-09-16 10:18:35 +08:00
committed by GitHub
parent 9fc2c9c6a7
commit 8f479eea99

View File

@ -1173,7 +1173,7 @@ public:
if (root != NULL) que.push(root);
while (!que.empty()) {
int size = que.size();
vector<int> vec;
// vector<int> vec;
Node* nodePre;
Node* node;
for (int i = 0; i < size; i++) {