Result

AC

Duration

1031ms

Code [DL]

`define W $write("
module a;time w,h,t;initial begin t=$fscanf('h8000_0000,"%d%d",h,w);repeat(w)`W*");`W\n");repeat(h-2)begin `W*");repeat(w-2)`W ");`W*\n");end repeat(w)`W*");end endmodule

stdin

69
91

stdout

*******************************************************************************************
*                                                                                         *
*                                                                                         *
*                                                                                         *
*                                                                                         *
*                                                                                         *
*                                                                                         *
*                                                                                         *
*                                                                                         *
*                                                                                         *
*                                                                                         *
*                                                                                         *
*                                                                                         *
*                                                                                         *
*                                                                                         *
*                                                                                         *
*                                                                                         *
*                                                                                         *
*                                                                                         *
*                                                                                         *
*                                                                                         *
*                                                                                         *
*                                                                                         *
*                                                                                         *
*                                                                                         *
*                                                                                         *
*                                                                                         *
*                                                                                         *
*                                                                                         *
*                                                                                         *
*                                                                                         *
*                                                                                         *
*                                                                                         *
*                                                                                         *
*                                                                                         *
*                                                                                         *
*                                                                                         *
*                                                                                         *
*                                                                                         *
*                                                                                         *
*                                                                                         *
*                                                                                         *
*                                                                                         *
*                                                                                         *
*                                                                                         *
*                                                                                         *
*                                                                                         *
*                                                                                         *
*                                                                                         *
*                                                                                         *
*                                                                                         *
*                                                                                         *
*                                                                                         *
*                                                                                         *
*                                                                                         *
*                                                                                         *
*                                                                                         *
*                                                                                         *
*                                                                                         *
*                                                                                         *
*                                                                                         *
*                                                                                         *
*                                                                                         *
*                                                                                         *
*                                                                                         *
*                                                                                         *
*                                                                                         *
*                                                                                         *
*******************************************************************************************

stderr