0_0_37875506_13535.cpp: In function 'void solve()': 0_0_37875506_13535.cpp:19:28: error: 'cmp' was not declared in this scope sort(a + 1, a + 1 + n, cmp); ^