13688 - EE2310_Lab_7   

Description

Redo Lecture #6 using malloc() as explained in the class. DO NOT USE STATIC ARRAYS (or any variable-length arrays) as you will not only get NO POINTS for this lab but also lose PENALTY POINTS of 1 extra Lab!

malloc()重做 lecture #6,不可用靜態陣列寫法,否則不但此次Lab 0分,且要倒扣一次Lab分數

Input

5 6
101010
100010
110000
110001
110000

 

Output

#3#3#2
#523#2
##2122
##3.1#
##2.11

 

Sample Input  Download

Sample Output  Download

Tags




Discuss