Why WA on Test 7?
Here is my code:
[code deleted]
Edited by moderator 23.06.2006 17:17
Re: Why WA on Test 7?
Use type __int64 in the function "znak":
__int64 znak(point a,point b,point c)
{
return (__int64)(a.y-b.y)*c.x+(__int64)(b.x-a.x)*c.y+((__int64)a.x*b.y-(__int64)b.x*a.y);
}
And you'll get AC ;)
Re: Why WA on Test 7?
Yup, you`re right, 10x very much for your help, because me and one of my friends spent so much time in unsuccessful debugging :), anyway I got accepted now, btw keep going the same way in Topcoder High School SRM's :)
Re: Why WA on Test 7?
>> keep going the same way in Topcoder High School SRM's :)
:)
I would like to keep...
But by the rules I'm already not able to participate (I complete school in this year).
So yeasterday it was the last one.
Re: Why WA on Test 7?
Well, in this case the battle for the top spot will be more intriguing :)
You might fight for the top here despite age and education (-)
Re: You might fight for the top here despite age and education (-)
Yup, but if you don't have the opportunity to get good education your chances decrease :)
I have two higher educations, but... (+)
All the knowledge and skills which raised me into the Top of Timus Online Judge have (almost) nothing to do with what the university gave me. I studied everything I need myself :)
Re: I have two higher educations, but... (+)
Well, I've just finished High School so I hope I'll have time to get better :)
Btw, it seems at last you solved 1394, I just want to express my admiration to the fact that you didn't gave it up :)
Edited by author 21.06.2006 00:47
Thank you for your admiration ;) (+)
As for 1394, Vladimir Yakovlev will try to defeat my solution with new tests soon. I think he could succeed. But I also suppose Safe Bird's and N.M.Hieu (DHSP)'s solutions might be beaten as well.