>>45
10c10
< typedef char t_dists[ORANGES][BOWLS];
---
typedef char t_dists[BOWLS];
27,28c27,28
< if (distances[j][dist]) return;
< distances[oranges][dist] = 1;
---
if (distances[dist]) return;
distances[dist] = 1; break;
This took literally less than 1 wall clock minute, including testing. I don't think you're a good enough programmer to gauge the difficulty of challenges.
FIXME:
j does nothing; you could pass the last position to avoid scanning
bowls[], and once you do that you could get rid of
bowls[] completely. Now that might be an appropriate challenge for you.