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 1266. Kirchhoff's Law

restriction
Posted by TUSUR_lxn 28 Apr 2008 16:59
what are the real restrictions for input data?

I just add in my source:

n = (n - 1) % 20 + 1, and have WA test 1;

else I have TL test 1.


then I send the code:


        scanf("%i%i", &n, &m);

    for (i = 0; i < m; i++)
    {
        scanf("%i%i%lf", &a, &b, &c);
        while (a > 10000 || b > 10000);
    }

    return 0;

and have TL test 1

Edited by author 28.04.2008 17:09