0_0_16651388_7442.cpp: In function 'int main(int, char**)': 0_0_16651388_7442.cpp:23:31: error: 'sort' was not declared in this scope sort(treasure,treasure+n,cmp); ^