0_0_19088740_20558.cpp: In function 'int main()': 0_0_19088740_20558.cpp:20:37: error: 'sort' was not declared in this scope sort(treasure,treasure+n,cmp); ^