0_0_15458338_30765.cpp: In function 'int main()': 0_0_15458338_30765.cpp:116:19: error: 'sort' was not declared in this scope sort(e,e+t); ^ 0_0_15458338_30765.cpp:126:9: error: 'else' without a previous 'if' else printf("%d\n",ans); ^