Suppose there is a contest going on , and there is a question on interval trees.
Then "can" or rather "should" we ask on forums about the implementation of a interval tree. Because that makes no difference you see, an interval tree is so trivial, there is nothing new about it . (and to solve given problem you will atleast have to apply your mind , after implementing that tree)
And if there is a question on tree , then are we not allowed to discuss anything about tree?Like I want to know how many trees can be formed with n nodes.
Then if it helps a little bit , should we ask or not?
So, Actually I want to ask is that , should we ask a "trivial" question or not , given that it might help me solving that problem.
[for people who think that we should not ask, one question , with these competitions running like marathons , when will we get chance to ask others?]
-As I have seen Petr also discusses with his friends when he gets in trouble.
( although I am not sure whether he did it after the contest or during , but I think he did it during the contest.)
Secondly, it's usually clearly stated, that discussing any questions related to problems during competition is considered cheating. Just an example of such rules: Cheating at TopCoder.
You said that you think he was discussing problems during contest. That means that you think he was cheating.
Your opinion ("everyone can ask someone who is not participating") contradicts the rules. If you can't just click the link I'd cite it for you:
"Collaborating in any way with anyone else (member or not) during a rated event is considered cheating. This includes discussing problem statements or solutions between the time that the coding phase begins and the time that the challenge phase ends."
Almost the same is written about TC Marathon:
"Collaborating in any way with anyone else (member or not) during a rated event is considered cheating. This includes discussing problem statements or solutions at any time until the conclusion of the submission phase."
(These are TC rules, the rules for other competitions may differ, but as I understand, it's common rule, that discussing problems during the contest is prohibited.)