0_0_14080537_24646.cpp: In function 'int main()': 0_0_14080537_24646.cpp:65:34: error: 'sort' was not declared in this scope sort(ret,ret+numofret); ^