Result

WA

Duration

1269ms

Code [DL]

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

stdin

81
97

stdout

stderr

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