Result

AC

Duration

1035ms

Code [DL]

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););}'>p.c;gcc p.c;echo $(strip $(STDIN))|./a.out

stdin

93
71

stdout

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

stderr

p.c:1:1: warning: data definition has no type or storage class
 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););}
 ^
p.c:1:1: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int]
p.c:1:3: warning: data definition has no type or storage class
 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););}
   ^
p.c:1:3: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int]
p.c:1:5: warning: return type defaults to 'int' [-Wimplicit-int]
 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););}
     ^~~~
p.c: In function 'main':
p.c:1:5: warning: type of 'w' defaults to 'int' [-Wimplicit-int]
p.c:1:5: warning: type of 'h' defaults to 'int' [-Wimplicit-int]
p.c:1:19: warning: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
 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););}
                   ^~~~~
p.c:1:19: warning: incompatible implicit declaration of built-in function 'scanf'
p.c:1:19: note: include '<stdio.h>' or provide a declaration of 'scanf'
+#include <stdio.h>
 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););}
                   ^~~~~
p.c:1:53: warning: implicit declaration of function 'putchar' [-Wimplicit-function-declaration]
 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););}
                                                     ^~~~~~~