jcmeyrignac:
"I find it pretty cool to have a space for discussion."
After each contest there is a public discussion on yahoo about the contest. I really enjoed these, even when I have not participated on a contest. Why is not enough for them?
There is something that you forget: it's the momentum.
When you compete, you have a strong desire to perform at your maximum, and when the contest is finished, this desire has disappeared.
This is why I prefer to share some insights, without giving details. Too much details kills the fun.
"Such contests are here to stimulate imagination and coding performance."
I can only agree with you. But tell me, if you can get free the algorithms and ideas or even optimal sequences for factorials then what is improved? Nothing, only cheating capability.
Ok, I'll give you the algorithms to solve this problem:
1) BFS for small N
2) heuristics for larger N
Did I cheat ?
As long as people don't disclose their algorithm or publish their solution, I consider this as not cheating.
Also, I guess that leaders will never disclose their method, because winning AZPC's contest is a great achievement !
На мой взгляд, задача очень тесно связана с факторизацией.
Вот сейчас представляла 13! вручную --- ручками, ручками пощупала задачу
В принципе понятно, как надо действовать.
No, you are wrong.
Factorizing is not the only way to approach this problem, because it's not related to computing powers with the minimum number of multiplications.
Think about additions, and what to add !
And no, I won't participate in this contest, since I'm busy with other things.
Azpc's contests are very time-consuming.