by@drafear
AC
1014ms
a: @echo 'c;i;main(w,h){for(scanf("%d%d",&h,&w);!i++?i=~w,h--:putchar(!i?c=10:i%w/2*h*c?32:42););}'|gcc -xc -;echo $(strip $(STDIN))|./a.out
78 11
*********** * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ***********
<stdin>:1:1: warning: data definition has no type or storage class <stdin>:1:1: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int] <stdin>:1:3: warning: data definition has no type or storage class <stdin>:1:3: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] <stdin>:1:5: warning: return type defaults to 'int' [-Wimplicit-int] <stdin>: In function 'main': <stdin>:1:5: warning: type of 'w' defaults to 'int' [-Wimplicit-int] <stdin>:1:5: warning: type of 'h' defaults to 'int' [-Wimplicit-int] <stdin>:1:19: warning: implicit declaration of function 'scanf' [-Wimplicit-function-declaration] <stdin>:1:19: warning: incompatible implicit declaration of built-in function 'scanf' <stdin>:1:19: note: include '<stdio.h>' or provide a declaration of 'scanf' <stdin>:1:53: warning: implicit declaration of function 'putchar' [-Wimplicit-function-declaration]