Result

AC

Duration

1118ms

Code [DL]

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););}

stdin

96
97

stdout

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

stderr

/tmp/code.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););}
 ^
/tmp/code.c:1:1: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int]
/tmp/code.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););}
   ^
/tmp/code.c:1:3: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int]
/tmp/code.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););}
     ^~~~
/tmp/code.c: In function 'main':
/tmp/code.c:1:5: warning: type of 'w' defaults to 'int' [-Wimplicit-int]
/tmp/code.c:1:5: warning: type of 'h' defaults to 'int' [-Wimplicit-int]
/tmp/code.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););}
                   ^~~~~
/tmp/code.c:1:19: warning: incompatible implicit declaration of built-in function 'scanf'
/tmp/code.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););}
                   ^~~~~
/tmp/code.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););}
                                                     ^~~~~~~
/tmp/code.c:1:76: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context]
 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););}
                                                                     ~~~~~~~^~