1092 - Tracking Bio-bots
Moderator: Board moderators
-
- Guru
- Posts: 5947
- Joined: Thu Sep 01, 2011 9:09 am
- Location: San Jose, CA, USA
1092 - Tracking Bio-bots
Use this thread to discuss this problem.
Check input and AC output for thousands of problems on uDebug!
-
- New poster
- Posts: 48
- Joined: Sun Jun 22, 2014 6:14 am
Re: 1092 - Tracking Bio-bots
For input (picture attached)
the correct output should be "15", but udebug outputs "11".
Assuming udebug features accepted solutions, someone cares to explain how this is "11"?
Code: Select all
30 30 13
18 10 22 10
22 10 27 10
9 3 16 3
3 26 19 26
9 17 22 17
27 10 27 10
11 25 18 25
22 5 27 5
26 10 27 10
25 9 27 9
9 2 11 2
6 27 7 27
26 17 27 17
0 0 0
Assuming udebug features accepted solutions, someone cares to explain how this is "11"?
- Attachments
-
- pic.jpg (183.71 KiB) Viewed 2678 times
Re: 1092 - Tracking Bio-bots
The problem is this input is invalid. You have multiple walls, likered_apricot wrote:For input (picture attached)the correct output should be "15", but udebug outputs "11".Code: Select all
30 30 13 18 10 22 10 22 10 27 10 9 3 16 3 3 26 19 26 9 17 22 17 27 10 27 10 11 25 18 25 22 5 27 5 26 10 27 10 25 9 27 9 9 2 11 2 6 27 7 27 26 17 27 17 0 0 0
Assuming udebug features accepted solutions, someone cares to explain how this is "11"?
Code: Select all
26 10 27 10
27 10 27 10
After altering the input:
Code: Select all
30 30 13
6 27 7 27
22 5 24 5
25 9 27 9
3 26 19 26
11 25 18 25
9 17 22 17
26 17 27 17
18 10 21 10
22 10 25 10
26 10 26 10
27 10 27 10
9 3 16 3
9 2 11 2
0 0 0