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

Discussion of Problem 1000. A+B Problem

test system BUG !!!!!
Posted by Alias aka Alexander Prudaev 16 Nov 2010 02:44
can anyone explain why this code gets AC ?

#include <stdio.h>

void ASS(bool b)
{
    if (!b)
    {
        while(1);;;
    }
}

int main()
{
    ASS(0);

    int a, b;
    scanf("%d %d", &a, &b);
    printf("%d\n", a + b);

    return 0;
}
Re: test system BUG !!!!!
Posted by Sandro (USU) 16 Nov 2010 10:34
And where is a bug? This code works on my computer too. :)
Re: Re: test system BUG !!!!!
Posted by Alias aka Alexander Prudaev 16 Nov 2010 16:04
but it must be TLE, the bug of course not in test system,
bug is in the compiler VS2010.