Language: C

s,z,l,k;main(i){char in[99];for(;gets(in),*in!=45;puts(in+s)){z=strlen(in);scanf("%d",&i);for(s=0;i--;s+=l)for(scanf("%d",&k),l=k;k--;in[s+k+z]=in[s+k]);in[z+s]=0;}exit(0);}

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | s,z,l,k;main(i){char in[99];for(;gets(in),*in!=45;puts(in+s)){z=strlen(in);scanf("%d",&i);for(s=0;i--;s+=l)for(scanf("%d",&k),l=k;k--;in[s+k+z]=in[s+k]);in[z+s]=0;}exit(0);}
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 's' [-Wimplicit-int]
main.c:1:3: error: type defaults to 'int' in declaration of 'z' [-Wimplicit-int]
    1 | s,z,l,k;main(i){char in[99];for(;gets(in),*in!=45;puts(in+s)){z=strlen(in);scanf("%d",&i);for(s=0;i--;s+=l)for(scanf("%d",&k),l=k;k--;in[s+k+z]=in[s+k]);in[z+s]=0;}exit(0);}
      |   ^
main.c:1:5: error: type defaults to 'int' in declaration of 'l' [-Wimplicit-int]
    1 | s,z,l,k;main(i){char in[99];for(;gets(in),*in!=45;puts(in+s)){z=strlen(in);scanf("%d",&i);for(s=0;i--;s+=l)for(scanf("%d",&k),l=k;k--;in[s+k+z]=in[s+k]);in[z+s]=0;}exit(0);}
      |     ^
main.c:1:7: error: type defaults to 'int' in declaration of 'k' [-Wimplicit-int]
    1 | s,z,l,k;main(i){char in[99];for(;gets(in),*in!=45;puts(in+s)){z=strlen(in);scanf("%d",&i);for(s=0;i--;s+=l)for(scanf("%d",&k),l=k;k--;in[s+k+z]=in[s+k]);in[z+s]=0;}exit(0);}
      |       ^
main.c:1:9: error: return type defaults to 'int' [-Wimplicit-int]
    1 | s,z,l,k;main(i){char in[99];for(;gets(in),*in!=45;puts(in+s)){z=strlen(in);scanf("%d",&i);for(s=0;i--;s+=l)for(scanf("%d",&k),l=k;k--;in[s+k+z]=in[s+k]);in[z+s]=0;}exit(0);}
      |         ^~~~
main.c: In function 'main':
main.c:1:9: error: type of 'i' defaults to 'int' [-Wimplicit-int]
main.c:1:34: error: implicit declaration of function 'gets' [-Wimplicit-function-declaration]
    1 | s,z,l,k;main(i){char in[99];for(;gets(in),*in!=45;puts(in+s)){z=strlen(in);scanf("%d",&i);for(s=0;i--;s+=l)for(scanf("%d",&k),l=k;k--;in[s+k+z]=in[s+k]);in[z+s]=0;}exit(0);}
      |                                  ^~~~
main.c:1:51: error: implicit declaration of function 'puts' [-Wimplicit-function-declaration]
    1 | s,z,l,k;main(i){char in[99];for(;gets(in),*in!=45;puts(in+s)){z=strlen(in);scanf("%d",&i);for(s=0;i--;s+=l)for(scanf("%d",&k),l=k;k--;in[s+k+z]=in[s+k]);in[z+s]=0;}exit(0);}
      |                                                   ^~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'puts'
  +++ |+#include <stdio.h>
    1 | s,z,l,k;main(i){char in[99];for(;gets(in),*in!=45;puts(in+s)){z=strlen(in);scanf("%d",&i);for(s=0;i--;s+=l)for(scanf("%d",&k),l=k;k--;in[s+k+z]=in[s+k]);in[z+s]=0;}exit(0);}
main.c:1:65: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]
    1 | s,z,l,k;main(i){char in[99];for(;gets(in),*in!=45;puts(in+s)){z=strlen(in);scanf("%d",&i);for(s=0;i--;s+=l)for(scanf("%d",&k),l=k;k--;in[s+k+z]=in[s+k]);in[z+s]=0;}exit(0);}
      |                                                                 ^~~~~~
main.c:1:1: note: include '<string.h>' or provide a declaration of 'strlen'
  +++ |+#include <string.h>
    1 | s,z,l,k;main(i){char in[99];for(;gets(in),*in!=45;puts(in+s)){z=strlen(in);scanf("%d",&i);for(s=0;i--;s+=l)for(scanf("%d",&k),l=k;k--;in[s+k+z]=in[s+k]);in[z+s]=0;}exit(0);}
main.c:1:65: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
    1 | s,z,l,k;main(i){char in[99];for(;gets(in),*in!=45;puts(in+s)){z=strlen(in);scanf("%d",&i);for(s=0;i--;s+=l)for(scanf("%d",&k),l=k;k--;in[s+k+z]=in[s+k]);in[z+s]=0;}exit(0);}
      |                                                                 ^~~~~~
main.c:1:65: note: include '<string.h>' or provide a declaration of 'strlen'
main.c:1:76: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    1 | s,z,l,k;main(i){char in[99];for(;gets(in),*in!=45;puts(in+s)){z=strlen(in);scanf("%d",&i);for(s=0;i--;s+=l)for(scanf("%d",&k),l=k;k--;in[s+k+z]=in[s+k]);in[z+s]=0;}exit(0);}
      |                                                                            ^~~~~
main.c:1:76: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:1:76: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
main.c:1:76: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:1:165: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
    1 | s,z,l,k;main(i){char in[99];for(;gets(in),*in!=45;puts(in+s)){z=strlen(in);scanf("%d",&i);for(s=0;i--;s+=l)for(scanf("%d",&k),l=k;k--;in[s+k+z]=in[s+k]);in[z+s]=0;}exit(0);}
      |                                                                                                                                                                     ^~~~
main.c:1:1: note: include '<stdlib.h>' or provide a declaration of 'exit'
  +++ |+#include <stdlib.h>
    1 | s,z,l,k;main(i){char in[99];for(;gets(in),*in!=45;puts(in+s)){z=strlen(in);scanf("%d",&i);for(s=0;i--;s+=l)for(scanf("%d",&k),l=k;k--;in[s+k+z]=in[s+k]);in[z+s]=0;}exit(0);}
main.c:1:165: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch]
    1 | s,z,l,k;main(i){char in[99];for(;gets(in),*in!=45;puts(in+s)){z=strlen(in);scanf("%d",&i);for(s=0;i--;s+=l)for(scanf("%d",&k),l=k;k--;in[s+k+z]=in[s+k]);in[z+s]=0;}exit(0);}
      |                                                                                                                                                                     ^~~~
main.c:1:165: note: include '<stdlib.h>' or provide a declaration of 'exit'