0_0_21123315_4587.cpp: In function 'int main()': 0_0_21123315_4587.cpp:36:33: error: 'sort' was not declared in this scope sort(ssb+1,ssb+cnt+1,cmp); ^