#MATL , 48 bytes
MATL , 48 bytes
tZyyX:UX>*Yat48-tt0>*3#fbbhb~2#fh-*s7M+'X'wZ}4$(
The background character is space. Input is a 2D char array with rows separated by semicolons. So the tests cases have respective inputs:
[' 2'; ' 0 '; ' 3 ']
[' 1 '; ' '; '1 0']
['0 1 1']
[' 2 0 1 ']
[' 3'; ' '; ' 0 '; ' '; ' '; '2 ']
['90'; ' 8']
The output includes a significant amount of padding whitespace.
#MATL , 48 bytes
tZyyX:UX>*Yat48-tt0>*3#fbbhb~2#fh-*s7M+'X'wZ}4$(
The background character is space. Input is a 2D char array with rows separated by semicolons. So the tests cases have respective inputs:
[' 2'; ' 0 '; ' 3 ']
[' 1 '; ' '; '1 0']
['0 1 1']
[' 2 0 1 ']
[' 3'; ' '; ' 0 '; ' '; ' '; '2 ']
['90'; ' 8']
The output includes a significant amount of padding whitespace.
MATL , 48 bytes
tZyyX:UX>*Yat48-tt0>*3#fbbhb~2#fh-*s7M+'X'wZ}4$(
The background character is space. Input is a 2D char array with rows separated by semicolons. So the tests cases have respective inputs:
[' 2'; ' 0 '; ' 3 ']
[' 1 '; ' '; '1 0']
['0 1 1']
[' 2 0 1 ']
[' 3'; ' '; ' 0 '; ' '; ' '; '2 ']
['90'; ' 8']
The output includes a significant amount of padding whitespace.
#MATL, 48 bytes
tZyyX:UX>*Yat48-tt0>*3#fbbhb~2#fh-*s7M+'X'wZ}4$(
The background character is space. Input is a 2D char array with rows separated by semicolons. So the tests cases have respective inputs:
[' 2'; ' 0 '; ' 3 ']
[' 1 '; ' '; '1 0']
['0 1 1']
[' 2 0 1 ']
[' 3'; ' '; ' 0 '; ' '; ' '; '2 ']
['90'; ' 8']
This addsThe output includes a significant amount of padding whitespace.
#MATL, 48 bytes
tZyyX:UX>*Yat48-tt0>*3#fbbhb~2#fh-*s7M+'X'wZ}4$(
The background character is space. Input is a 2D char array with rows separated by semicolons. So the tests cases have respective inputs
[' 2'; ' 0 '; ' 3 ']
[' 1 '; ' '; '1 0']
['0 1 1']
[' 2 0 1 ']
[' 3'; ' '; ' 0 '; ' '; ' '; '2 ']
['90'; ' 8']
This adds a significant amount of padding whitespace.
#MATL, 48 bytes
tZyyX:UX>*Yat48-tt0>*3#fbbhb~2#fh-*s7M+'X'wZ}4$(
The background character is space. Input is a 2D char array with rows separated by semicolons. So the tests cases have respective inputs:
[' 2'; ' 0 '; ' 3 ']
[' 1 '; ' '; '1 0']
['0 1 1']
[' 2 0 1 ']
[' 3'; ' '; ' 0 '; ' '; ' '; '2 ']
['90'; ' 8']
The output includes a significant amount of padding whitespace.
#MATL, 48 bytes
tZyyX:UX>*Yat48-tt0>*3#fbbhb~2#fh-*s7M+'X'wZ}4$(
The background character is space. Input is a 2D char array with rows separated by semicolons. So the tests cases have respective inputs
[' 2'; ' 0 '; ' 3 ']
[' 1 '; ' '; '1 0']
['0 1 1']
[' 2 0 1 ']
[' 3'; ' '; ' 0 '; ' '; ' '; '2 ']
['90'; ' 8']
This adds a significant amount of padding whitespace.