by@paradigm_9
AC
966ms
<?php $h=+fgets(STDIN);$w=fgets(STDIN)-2;for($y=$h;$y;)echo"*".str_repeat($y--<$h&&$y?" ":"*",$w)."*\n"?>
29 18
****************** * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ******************
PHP Notice: A non well formed numeric value encountered in /volume/CODE on line 1 PHP Notice: A non well formed numeric value encountered in /volume/CODE on line 1