0_0_20031832_15238.cpp: In function 'int main()': 0_0_20031832_15238.cpp:19:17: error: 'sort' was not declared in this scope sort(t,t+n,cmp); ^