• + 0 comments

    The framework for C doesn't output any results. In main(), right underneath

        int result = solve(n, k);
    

    add the following line:

        fprintf(fptr, "%d\n", result);