by@lip_of_cygnus
WA
858ms
h=int(input()) w=int(input()) s='*'*w+q print(s+('*'+' '*(w-2)+'*\n')*(h-2)+s)
30 82
Traceback (most recent call last): File "/volume/CODE", line 3, in <module> s='*'*w+q NameError: name 'q' is not defined