by@hatsusato
WA
1276ms
read h w< <(tr '\n' ' ') a=$(printf %${w}s|tr ' ' \*) ((h-=2)) ((w-=2)) b=\*$(printf %${w}s)\* echo "$a" printf %${h}s|sed "s/ /$b\n/g" echo "$a"
63 63
* * * *
/code.bash: line 1: /dev/fd/62: No such file or directory /code.bash: line 1: tr: command not found /code.bash: line 1: tr: command not found /code.bash: line 2: tr: command not found