0_0_15845671_18064.cpp: In function 'int main()': 0_0_15845671_18064.cpp:17:28: error: 'sort' was not declared in this scope sort(king,king+n,cmop); ^ 0_0_15845671_18064.cpp:68:13: error: expected '}' at end of input return 0; ^