0_0_27441577_6526.cpp: In function 'int main()': 0_0_27441577_6526.cpp:54:37: error: 'sort' was not declared in this scope sort(e + 1, e + 1 + num, cmp); ^