Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

DEVELOPERS

Name: Anonymous 2011-05-24 11:59

Name: Anonymous 2011-05-26 11:13

>>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.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List