I'm working on pset1 and getting some strange behavior when I use check50 to assess my greedy.c program. I have to correct outputs and as far as I can tell I'm using the same printing conventions discussed in lecture but the check50 utility is indicating that I'm doing something incorrect none the less. Any help would be greatly appreciated!


![greedy.c program][1]


![check50 on greedy.c][2]


  [1]: https://i.sstatic.net/IHFne.png
  [2]: https://i.sstatic.net/mnIdO.png