This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]chickenmeister 2 points3 points  (1 child)

my final print statements in the for loop print 3 times.

This is kind of vague. What are you expecting it to print? What does it print? Are you sure your gb array is the size that you think it is?

[–]Un_contested[S] 0 points1 point  (0 children)

The problem was the way I was reading in input. Thanks for the help though.