Language: C

b[10][2500],t;main(n){for(;scanf("%d",&n)*n;){for(;n--;strcat(b[t],"*"))scanf("%d",&t);for(;++n<10;b[n]=0)puts(*b[n]?b[n]:"-");}}

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | b[10][2500],t;main(n){for(;scanf("%d",&n)*n;){for(;n--;strcat(b[t],"*"))scanf("%d",&t);for(;++n<10;b[n]=0)puts(*b[n]?b[n]:"-");}}
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 'b' [-Wimplicit-int]
main.c:1:13: error: type defaults to 'int' in declaration of 't' [-Wimplicit-int]
    1 | b[10][2500],t;main(n){for(;scanf("%d",&n)*n;){for(;n--;strcat(b[t],"*"))scanf("%d",&t);for(;++n<10;b[n]=0)puts(*b[n]?b[n]:"-");}}
      |             ^
main.c:1:15: error: return type defaults to 'int' [-Wimplicit-int]
    1 | b[10][2500],t;main(n){for(;scanf("%d",&n)*n;){for(;n--;strcat(b[t],"*"))scanf("%d",&t);for(;++n<10;b[n]=0)puts(*b[n]?b[n]:"-");}}
      |               ^~~~
main.c: In function 'main':
main.c:1:15: error: type of 'n' defaults to 'int' [-Wimplicit-int]
main.c:1:28: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    1 | b[10][2500],t;main(n){for(;scanf("%d",&n)*n;){for(;n--;strcat(b[t],"*"))scanf("%d",&t);for(;++n<10;b[n]=0)puts(*b[n]?b[n]:"-");}}
      |                            ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | b[10][2500],t;main(n){for(;scanf("%d",&n)*n;){for(;n--;strcat(b[t],"*"))scanf("%d",&t);for(;++n<10;b[n]=0)puts(*b[n]?b[n]:"-");}}
main.c:1:28: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    1 | b[10][2500],t;main(n){for(;scanf("%d",&n)*n;){for(;n--;strcat(b[t],"*"))scanf("%d",&t);for(;++n<10;b[n]=0)puts(*b[n]?b[n]:"-");}}
      |                            ^~~~~
main.c:1:28: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:1:56: error: implicit declaration of function 'strcat' [-Wimplicit-function-declaration]
    1 | b[10][2500],t;main(n){for(;scanf("%d",&n)*n;){for(;n--;strcat(b[t],"*"))scanf("%d",&t);for(;++n<10;b[n]=0)puts(*b[n]?b[n]:"-");}}
      |                                                        ^~~~~~
main.c:1:1: note: include '<string.h>' or provide a declaration of 'strcat'
  +++ |+#include <string.h>
    1 | b[10][2500],t;main(n){for(;scanf("%d",&n)*n;){for(;n--;strcat(b[t],"*"))scanf("%d",&t);for(;++n<10;b[n]=0)puts(*b[n]?b[n]:"-");}}
main.c:1:56: warning: incompatible implicit declaration of built-in function 'strcat' [-Wbuiltin-declaration-mismatch]
    1 | b[10][2500],t;main(n){for(;scanf("%d",&n)*n;){for(;n--;strcat(b[t],"*"))scanf("%d",&t);for(;++n<10;b[n]=0)puts(*b[n]?b[n]:"-");}}
      |                                                        ^~~~~~
main.c:1:56: note: include '<string.h>' or provide a declaration of 'strcat'
main.c:1:64: error: passing argument 1 of 'strcat' from incompatible pointer type [-Wincompatible-pointer-types]
    1 | b[10][2500],t;main(n){for(;scanf("%d",&n)*n;){for(;n--;strcat(b[t],"*"))scanf("%d",&t);for(;++n<10;b[n]=0)puts(*b[n]?b[n]:"-");}}
      |                                                               ~^~~
      |                                                                |
      |                                                                int *
main.c:1:64: note: expected 'char *' but argument is of type 'int *'
main.c:1:104: error: assignment to expression with array type
    1 | b[10][2500],t;main(n){for(;scanf("%d",&n)*n;){for(;n--;strcat(b[t],"*"))scanf("%d",&t);for(;++n<10;b[n]=0)puts(*b[n]?b[n]:"-");}}
      |                                                                                                        ^
main.c:1:107: error: implicit declaration of function 'puts' [-Wimplicit-function-declaration]
    1 | b[10][2500],t;main(n){for(;scanf("%d",&n)*n;){for(;n--;strcat(b[t],"*"))scanf("%d",&t);for(;++n<10;b[n]=0)puts(*b[n]?b[n]:"-");}}
      |                                                                                                           ^~~~
main.c:1:107: note: include '<stdio.h>' or provide a declaration of 'puts'
main.c:1:122: error: pointer type mismatch in conditional expression [-Wincompatible-pointer-types]
    1 | b[10][2500],t;main(n){for(;scanf("%d",&n)*n;){for(;n--;strcat(b[t],"*"))scanf("%d",&t);for(;++n<10;b[n]=0)puts(*b[n]?b[n]:"-");}}
      |                                                                                                                          ^
main.c:1:118: note: first expression has type 'int *'
    1 | b[10][2500],t;main(n){for(;scanf("%d",&n)*n;){for(;n--;strcat(b[t],"*"))scanf("%d",&t);for(;++n<10;b[n]=0)puts(*b[n]?b[n]:"-");}}
      |                                                                                                                      ^~~~
main.c:1:123: note: second expression has type 'char *'
    1 | b[10][2500],t;main(n){for(;scanf("%d",&n)*n;){for(;n--;strcat(b[t],"*"))scanf("%d",&t);for(;++n<10;b[n]=0)puts(*b[n]?b[n]:"-");}}
      |                                                                                                                           ^~~