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

Обсуждение задачи 1930. Машина инженера Ивана

WA6 or WA11,,, please give me test...
Послано DR. Zhihua Lai 12 янв 2013 07:27
Any hints? thanks...
my approach is to use bfs

Edited by author 14.01.2013 05:59
Re: WA6 or WA11,,, please give me test...
Послано Hikmat Ahmedov 25 янв 2013 22:00
I’m using dijkstra algorithm. I have WA 11 too.
I see you managed to pass this test.
Could you tell me please, what is the test 11?
I don’t think this problem can be solved by BFS, is it?
Thanks,
Re: WA6 or WA11,,, please give me test...
Послано DR. Zhihua Lai 26 янв 2013 15:38
This post gives u some idea.

http://rot47.net/_acm/viewtopic.php?f=3&t=2

Edited by author 26.01.2013 15:38
Re: WA6 or WA11,,, please give me test...
Послано Hikmat Ahmedov 27 янв 2013 00:05
Thank you very much,

I'll learn and implement those hints as soon as I finish Facebook Hacker Cup 2013 problems,
Hopefully I can get AC.
Re: WA6 or WA11,,, please give me test...
Послано DR. Zhihua Lai 27 янв 2013 04:37
good luck for it...

apparently it is now too late for me to join..
Re: WA6 or WA11,,, please give me test...
Послано Hikmat Ahmedov 27 янв 2013 17:55
Thanks,

Yes, it is late now, but next year if you register once, you can participate every year.
And in April there will be Google Code Jam 2013, you can participate in that contest.
Re: WA6 or WA11,,, please give me test...
Послано AndreyPikas [Yaroslavl SU] 7 май 2013 01:14
Hikmat Ahmedov писал(a) 25 января 2013 22:00
I don’t think this problem can be solved by BFS, is it?
I solved this by using BFS. But everytime I adds into queue all not used vertices, reachable from the current vertex along ribs of one and the same direction.
Re: WA6 or WA11,,, please give me test...
Послано SilentBob 30 июн 2013 19:36
Hikmat Ahmedov писал(a) 25 января 2013 22:00
I don’t think this problem can be solved by BFS, is it?

You are wrong, I wrote simple bfs and its got ac with the second attempt:)
About bfs
Послано AYUBXON UBAYDULLAYEV TUIT 20 июл 2013 13:29
Could you give any hint to bfs?