by@paradigm_9
WA
1937ms
s=gets if s h=s.to_i-2 w=s.to_i-1 a="*"*w+"** " puts a+"*#{" "*w}* "*h+a end
10 82
*********** * * * * * * * * * * * * * * * * ***********