0_0_23628531_30699.cpp: In function 'int main()': 0_0_23628531_30699.cpp:24:39: error: 'sort' was not declared in this scope sort(v.begin(),v.end(),cmp); ^