I've met a quite interesting problem and I thought it would be a nice task also on the code golf.

Unfortunately, it is currently being held as unclear.

However, the problem is for me very simple and clear. To my best knowledge, I reacted and made clear all reactions in comments, and by improving the post. The question didn't get up, neither down votes.


  • the numerous reactions about the details,
  • the lack of up and also down votes,
  • while the problem is quite simple and clear in my mind,

I think some major problem still could exist, which could make the post still unclear. But, by answering all comments and improving the post according them, I don't have more idea.

I think maybe the math-focused part makes the post partially offtopic. On this reason, I've made a MathSE question and as it is visible in the answer, it has a very quick, simple and nice algorithm. This post is linked into the question.

@hvd pointed to a problem about the exact formulation of the required algorithmic complexity. I think it was fixed in the post.

Comparing the current version of the post to its first, I see major differences. Any idea, what else to do?

  • \$\begingroup\$ It seems clear to me. \$\endgroup\$
    – user72349
    Commented Sep 17, 2017 at 12:57
  • 1
    \$\begingroup\$ I voted to reopen the question about 10 minutes after you made the last clarifications concerning the complexity. So I think the question is clear now und you just need to wait until it's reopened. \$\endgroup\$
    – Laikoni
    Commented Sep 17, 2017 at 13:00
  • \$\begingroup\$ Thank everybody the help! \$\endgroup\$
    – peterh
    Commented Sep 17, 2017 at 13:56


You must log in to answer this question.

Browse other questions tagged .