Post by cs240It shouldn't affect anything. With that said, your program shouldn't
output any empty lines after output the heap.
Vivian
CS240 Tutor
Post by kun qianThe sample output/input seem to have no newline at the end of file. I
wonder if this will affect the expect output of our program.
Everyone should end with a newline. But the given output doesn't. It
might just be the html's fault, could you check if the solution output
ends with a newline? For example, if the output doesn't end with
newline it would look like this:
a
b
c linux006@:~/
But if it does end with newline it would look like this
a
b
c
linux006@:~/
Which one is it?