0_0_19540995_3310.cpp: In function 'int main()': 0_0_19540995_3310.cpp:19:33: error: 'sort' was not declared in this scope sort(p, p+n[i]-1,cmp); ^