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 1930. Ivan's Car

WA6 or WA11,,, please give me test...
Posted by DR. Zhihua Lai 12 Jan 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...
Posted by Hikmat Ahmedov 25 Jan 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...
Posted by DR. Zhihua Lai 26 Jan 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...
Posted by Hikmat Ahmedov 27 Jan 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...
Posted by DR. Zhihua Lai 27 Jan 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...
Posted by Hikmat Ahmedov 27 Jan 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...
Posted by AndreyPikas [Yaroslavl SU] 7 May 2013 01:14
Hikmat Ahmedov wrote 25 January 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...
Posted by SilentBob 30 Jun 2013 19:36
Hikmat Ahmedov wrote 25 January 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
Posted by AYUBXON UBAYDULLAYEV TUIT 20 Jul 2013 13:29
Could you give any hint to bfs?