presumably the question was deleted because the answer turned out to be embarrassingly obvious (in their mind). LIke 

    for(int i = 0; i < ct; i++);
    {
        printf("%d", i);
    }

But not that simple because people would have spotted it. 

In many cases people have tried to help and spent some time hacking away, then the question disappears. Now I don't know what the answer was, I am curious; plus others might have found it useful

Are there rules about preventing deletion, if somebody ups it or favorites it?