0_0_30114362_14598.cpp:4:5: error: expected declaration before '}' token } return 0; } int main(){ int T; scanf("%d", &T); while(T--) { scanf("%d%d", &n, &k); d[0] = n; u[n] = 1; dfs(1, n, n); u[n] = 0; } return 0; } ^