0_0_28849038_2483.cpp: In function 'int main()': 0_0_28849038_2483.cpp:41:29: error: 'sort' was not declared in this scope sort(x+1, x+s+1, cmp); ^