0_0_36372332_32685.cpp: In function 'int main()': 0_0_36372332_32685.cpp:32:32: error: 'sort' was not declared in this scope sort(a.begin(), a.begin() + n); ^