Skip to main content
removed full code drop to comply with Homor Code, leaving only relevant code.
Source Link
Cliff B
  • 69.3k
  • 4
  • 33
  • 56

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!

    }
    printf("%i \n", Coins);
}

greedy.c programcheck50 on greedy.c

check50 on greedy.c [ Ed: full code drop removed to comply with Honor Code. Relevant code left. ]

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

check50 on greedy.c

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!

    }
    printf("%i \n", Coins);
}

check50 on greedy.c

[ Ed: full code drop removed to comply with Honor Code. Relevant code left. ]

Source Link

greedy check50 peculiarity

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

check50 on greedy.c