Result

WA

Duration

1266ms

Code [DL]

python3 -c "i=input
h=int(i())
w=int(i())-2
for y in range(h):print('*'+' *'[y in[0,h-1]]*w+'*')"

stdin

85
19

stdout

stderr

/code.bash: line 1: python3: command not found