Dawn-K
Results
2
issues of
Dawn-K
``` #默认 使用 cuda10.1 pip3 install torch===1.3.0 torchvision===0.4.1 -f https://download.pytorch.org/whl/torch_stable. ``` 此句话的句号后面少了html 故应为 ``` pip3 install torch===1.3.0 torchvision===0.4.1 -f https://download.pytorch.org/whl/torch_stable.html ```
虽然此题保证了输入数据是互不相同的,但是模板中 ```c root->right = insert(root->right, val); if (getHeight(root->left) - getHeight(root->right) == -2) root = val > root->right->val ? rotateLeft(root) : rotateRightLeft(root); ``` 其中的判断应该修改为` val > root->right->val` ,否则在多次插入同一个数据时会死循环. hack数据 ``` 5...