You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
报错内容为:
c:\Users\pcc_\AppData\Roaming\Code\User\globalStorage\wangtao0101.debug-leetcode\sourcecppproblem15.cpp:20:5: error: 'sort' was not declared in this scope
sort(nums.begin(), nums.end());
^~~~
The text was updated successfully, but these errors were encountered:
c++调试时,使用sort函数对vector容器排序就会报错,注释掉就没问题
报错内容为:
c:\Users\pcc_\AppData\Roaming\Code\User\globalStorage\wangtao0101.debug-leetcode\sourcecppproblem15.cpp:20:5: error: 'sort' was not declared in this scope
sort(nums.begin(), nums.end());
^~~~
The text was updated successfully, but these errors were encountered: