Result

WA

Duration

1308ms

Code [DL]

f()for((;--w>0;)){
s=$c$s
}
read h
read w
c=' '
f
c="*$s*
"
s=
x=${c// /*}
w=$h
f
echo "$x$s$x"

stdin

10
62

stdout

***************************************************************
*                                                             *
*                                                             *
*                                                             *
*                                                             *
*                                                             *
*                                                             *
*                                                             *
*                                                             *
*                                                             *
***************************************************************

stderr