ENG  RUSTimus Online Judge
Online Judge
Задачи
Авторы
Соревнования
О системе
Часто задаваемые вопросы
Новости сайта
Форум
Ссылки
Архив задач
Отправить на проверку
Состояние проверки
Руководство
Регистрация
Исправить данные
Рейтинг авторов
Текущее соревнование
Расписание
Прошедшие соревнования
Правила
вернуться в форум

Обсуждение задачи 1207. Медиана на плоскости

Why WA on Test 7?
Послано Tabledott 19 июн 2006 12:37
Here is my code:

[code deleted]

Edited by moderator 23.06.2006 17:17
Re: Why WA on Test 7?
Послано Burunduk1 20 июн 2006 13:05
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?
Послано Tabledott 20 июн 2006 14:53
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?
Послано Burunduk1 20 июн 2006 18:41
>> 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?
Послано Tabledott 20 июн 2006 22:04
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 (-)
Послано Dmitry 'Diman_YES' Kovalioff 20 июн 2006 23:04
Re: You might fight for the top here despite age and education (-)
Послано Tabledott 21 июн 2006 00:09
Yup, but if you don't have the opportunity to get good education your chances decrease :)
I have two higher educations, but... (+)
Послано Dmitry 'Diman_YES' Kovalioff 21 июн 2006 00:27
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... (+)
Послано Tabledott 21 июн 2006 00:47
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 ;) (+)
Послано Dmitry 'Diman_YES' Kovalioff 21 июн 2006 02:01
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.