0_0_28711258_15874.cpp: In function 'int main()': 0_0_28711258_15874.cpp:63:33: error: 'sort' was not declared in this scope sort(sticks,sticks+n,cmp); ^