Result

AC

Duration

1072ms

Code [DL]

SHELL=bash
a:
	@read h w<<<'$(STDIN:\n= )';for((;h;)){ printf \\$$((++i%w/2*c?40:i>w?c=--h-1,i=0,12:52));}

stdin

14
87

stdout

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

stderr