0_0_32308369_22554.cpp: In function 'int main()': 0_0_32308369_22554.cpp:56:18: error: 'sort' was not declared in this scope sort(q+1,q+top+1); ^