ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Common Board

Fail (Compilation)
Posted by Ivankov Dmitry 26 Feb 2006 02:22
What does it mean? Compilation Time Limit?

For example:
[ccode]
for (i = 0;  i <= T; ++i)
    doOp();
[/ccode]
Gets Fail

and
[ccode]
    for (i = 0; i <= T - 4; i += 4)
    {
        doOp();
        doOp();
        doOp();
        doOp();
    }
    for (; i <= T; ++i)
        doOp();
[/ccode]
Compiles normally.

P.S. Locally everything of course compiles
Please, tell me the ID of failed submit
Posted by Vladimir Yakovlev (USU) 26 Feb 2006 11:59
Re: Please, tell me the ID of failed submit
Posted by Ivankov Dmitry 26 Feb 2006 17:48
1097366    Wrong Answer
1097365    Fail (Compilation)
Difference is almost nothing

Edited by author 26.02.2006 23:48
Re: Please, tell me the ID of failed submit
Posted by Ivankov Dmitry 26 Feb 2006 23:48
One more strange pair of sources (difference is only one "inline")
1097808    Time Limit Exceeded
1097805    Fail (Compilation)

Still I cannot find small code that will cause Fail.

P.S Maybe compiler crashes on many inline functions. But in previous pair it crashes on one that have less calls of inline functions.

Edited by author 26.02.2006 23:50
I know the problem (+)
Posted by Vladimir Yakovlev (USU) 27 Feb 2006 13:15
I found the reason of such strange situation. I'll tell you it later and fix it in few days.
Fixed (-)
Posted by Vladimir Yakovlev (USU) 28 Feb 2006 17:13