Language: C

b[110],s[110]={0};main(q,p){while(scanf("%[^\n]%*c",b),*b-'.'){q=s+1;for(p=b;*p-'.';p++){if(*p=='('||*p=='[') *q++=*p;if(*p==')'||*p==']'){q--;if(!((*q=='('&&*p==')')||(*q=='['&&*p==']'))){puts("no");break;}}}if(*p=='.')puts(q-s-1?"no":"yes");}}

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | b[110],s[110]={0};main(q,p){while(scanf("%[^\n]%*c",b),*b-'.'){q=s+1;for(p=b;*p-'.';p++){if(*p=='('||*p=='[') *q++=*p;if(*p==')'||*p==']'){q--;if(!((*q=='('&&*p==')')||(*q=='['&&*p==']'))){puts("no");break;}}}if(*p=='.')puts(q-s-1?"no":"yes");}}
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 'b' [-Wimplicit-int]
main.c:1:8: error: type defaults to 'int' in declaration of 's' [-Wimplicit-int]
    1 | b[110],s[110]={0};main(q,p){while(scanf("%[^\n]%*c",b),*b-'.'){q=s+1;for(p=b;*p-'.';p++){if(*p=='('||*p=='[') *q++=*p;if(*p==')'||*p==']'){q--;if(!((*q=='('&&*p==')')||(*q=='['&&*p==']'))){puts("no");break;}}}if(*p=='.')puts(q-s-1?"no":"yes");}}
      |        ^
main.c:1:19: error: return type defaults to 'int' [-Wimplicit-int]
    1 | b[110],s[110]={0};main(q,p){while(scanf("%[^\n]%*c",b),*b-'.'){q=s+1;for(p=b;*p-'.';p++){if(*p=='('||*p=='[') *q++=*p;if(*p==')'||*p==']'){q--;if(!((*q=='('&&*p==')')||(*q=='['&&*p==']'))){puts("no");break;}}}if(*p=='.')puts(q-s-1?"no":"yes");}}
      |                   ^~~~
main.c: In function 'main':
main.c:1:19: error: type of 'q' defaults to 'int' [-Wimplicit-int]
main.c:1:19: error: type of 'p' defaults to 'int' [-Wimplicit-int]
main.c:1:35: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    1 | b[110],s[110]={0};main(q,p){while(scanf("%[^\n]%*c",b),*b-'.'){q=s+1;for(p=b;*p-'.';p++){if(*p=='('||*p=='[') *q++=*p;if(*p==')'||*p==']'){q--;if(!((*q=='('&&*p==')')||(*q=='['&&*p==']'))){puts("no");break;}}}if(*p=='.')puts(q-s-1?"no":"yes");}}
      |                                   ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | b[110],s[110]={0};main(q,p){while(scanf("%[^\n]%*c",b),*b-'.'){q=s+1;for(p=b;*p-'.';p++){if(*p=='('||*p=='[') *q++=*p;if(*p==')'||*p==']'){q--;if(!((*q=='('&&*p==')')||(*q=='['&&*p==']'))){puts("no");break;}}}if(*p=='.')puts(q-s-1?"no":"yes");}}
main.c:1:35: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    1 | b[110],s[110]={0};main(q,p){while(scanf("%[^\n]%*c",b),*b-'.'){q=s+1;for(p=b;*p-'.';p++){if(*p=='('||*p=='[') *q++=*p;if(*p==')'||*p==']'){q--;if(!((*q=='('&&*p==')')||(*q=='['&&*p==']'))){puts("no");break;}}}if(*p=='.')puts(q-s-1?"no":"yes");}}
      |                                   ^~~~~
main.c:1:35: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:1:65: error: assignment to 'int' from 'int *' makes integer from pointer without a cast [-Wint-conversion]
    1 | b[110],s[110]={0};main(q,p){while(scanf("%[^\n]%*c",b),*b-'.'){q=s+1;for(p=b;*p-'.';p++){if(*p=='('||*p=='[') *q++=*p;if(*p==')'||*p==']'){q--;if(!((*q=='('&&*p==')')||(*q=='['&&*p==']'))){puts("no");break;}}}if(*p=='.')puts(q-s-1?"no":"yes");}}
      |                                                                 ^
main.c:1:75: error: assignment to 'int' from 'int *' makes integer from pointer without a cast [-Wint-conversion]
    1 | b[110],s[110]={0};main(q,p){while(scanf("%[^\n]%*c",b),*b-'.'){q=s+1;for(p=b;*p-'.';p++){if(*p=='('||*p=='[') *q++=*p;if(*p==')'||*p==']'){q--;if(!((*q=='('&&*p==')')||(*q=='['&&*p==']'))){puts("no");break;}}}if(*p=='.')puts(q-s-1?"no":"yes");}}
      |                                                                           ^
main.c:1:78: error: invalid type argument of unary '*' (have 'int')
    1 | b[110],s[110]={0};main(q,p){while(scanf("%[^\n]%*c",b),*b-'.'){q=s+1;for(p=b;*p-'.';p++){if(*p=='('||*p=='[') *q++=*p;if(*p==')'||*p==']'){q--;if(!((*q=='('&&*p==')')||(*q=='['&&*p==']'))){puts("no");break;}}}if(*p=='.')puts(q-s-1?"no":"yes");}}
      |                                                                              ^~
main.c:1:93: error: invalid type argument of unary '*' (have 'int')
    1 | b[110],s[110]={0};main(q,p){while(scanf("%[^\n]%*c",b),*b-'.'){q=s+1;for(p=b;*p-'.';p++){if(*p=='('||*p=='[') *q++=*p;if(*p==')'||*p==']'){q--;if(!((*q=='('&&*p==')')||(*q=='['&&*p==']'))){puts("no");break;}}}if(*p=='.')puts(q-s-1?"no":"yes");}}
      |                                                                                             ^~
main.c:1:102: error: invalid type argument of unary '*' (have 'int')
    1 | b[110],s[110]={0};main(q,p){while(scanf("%[^\n]%*c",b),*b-'.'){q=s+1;for(p=b;*p-'.';p++){if(*p=='('||*p=='[') *q++=*p;if(*p==')'||*p==']'){q--;if(!((*q=='('&&*p==')')||(*q=='['&&*p==']'))){puts("no");break;}}}if(*p=='.')puts(q-s-1?"no":"yes");}}
      |                                                                                                      ^~
main.c:1:111: error: invalid type argument of unary '*' (have 'int')
    1 | b[110],s[110]={0};main(q,p){while(scanf("%[^\n]%*c",b),*b-'.'){q=s+1;for(p=b;*p-'.';p++){if(*p=='('||*p=='[') *q++=*p;if(*p==')'||*p==']'){q--;if(!((*q=='('&&*p==')')||(*q=='['&&*p==']'))){puts("no");break;}}}if(*p=='.')puts(q-s-1?"no":"yes");}}
      |                                                                                                               ^~~~
main.c:1:116: error: invalid type argument of unary '*' (have 'int')
    1 | b[110],s[110]={0};main(q,p){while(scanf("%[^\n]%*c",b),*b-'.'){q=s+1;for(p=b;*p-'.';p++){if(*p=='('||*p=='[') *q++=*p;if(*p==')'||*p==']'){q--;if(!((*q=='('&&*p==')')||(*q=='['&&*p==']'))){puts("no");break;}}}if(*p=='.')puts(q-s-1?"no":"yes");}}
      |                                                                                                                    ^~
main.c:1:122: error: invalid type argument of unary '*' (have 'int')
    1 | b[110],s[110]={0};main(q,p){while(scanf("%[^\n]%*c",b),*b-'.'){q=s+1;for(p=b;*p-'.';p++){if(*p=='('||*p=='[') *q++=*p;if(*p==')'||*p==']'){q--;if(!((*q=='('&&*p==')')||(*q=='['&&*p==']'))){puts("no");break;}}}if(*p=='.')puts(q-s-1?"no":"yes");}}
      |                                                                                                                          ^~
main.c:1:131: error: invalid type argument of unary '*' (have 'int')
    1 | b[110],s[110]={0};main(q,p){while(scanf("%[^\n]%*c",b),*b-'.'){q=s+1;for(p=b;*p-'.';p++){if(*p=='('||*p=='[') *q++=*p;if(*p==')'||*p==']'){q--;if(!((*q=='('&&*p==')')||(*q=='['&&*p==']'))){puts("no");break;}}}if(*p=='.')puts(q-s-1?"no":"yes");}}
      |                                                                                                                                   ^~
main.c:1:150: error: invalid type argument of unary '*' (have 'int')
    1 | b[110],s[110]={0};main(q,p){while(scanf("%[^\n]%*c",b),*b-'.'){q=s+1;for(p=b;*p-'.';p++){if(*p=='('||*p=='[') *q++=*p;if(*p==')'||*p==']'){q--;if(!((*q=='('&&*p==')')||(*q=='['&&*p==']'))){puts("no");break;}}}if(*p=='.')puts(q-s-1?"no":"yes");}}
      |                                                                                                                                                      ^~
main.c:1:159: error: invalid type argument of unary '*' (have 'int')
    1 | b[110],s[110]={0};main(q,p){while(scanf("%[^\n]%*c",b),*b-'.'){q=s+1;for(p=b;*p-'.';p++){if(*p=='('||*p=='[') *q++=*p;if(*p==')'||*p==']'){q--;if(!((*q=='('&&*p==')')||(*q=='['&&*p==']'))){puts("no");break;}}}if(*p=='.')puts(q-s-1?"no":"yes");}}
      |                                                                                                                                                               ^~
main.c:1:170: error: invalid type argument of unary '*' (have 'int')
    1 | b[110],s[110]={0};main(q,p){while(scanf("%[^\n]%*c",b),*b-'.'){q=s+1;for(p=b;*p-'.';p++){if(*p=='('||*p=='[') *q++=*p;if(*p==')'||*p==']'){q--;if(!((*q=='('&&*p==')')||(*q=='['&&*p==']'))){puts("no");break;}}}if(*p=='.')puts(q-s-1?"no":"yes");}}
      |                                                                                                                                                                          ^~
main.c:1:179: error: invalid type argument of unary '*' (have 'int')
    1 | b[110],s[110]={0};main(q,p){while(scanf("%[^\n]%*c",b),*b-'.'){q=s+1;for(p=b;*p-'.';p++){if(*p=='('||*p=='[') *q++=*p;if(*p==')'||*p==']'){q--;if(!((*q=='('&&*p==')')||(*q=='['&&*p==']'))){puts("no");break;}}}if(*p=='.')puts(q-s-1?"no":"yes");}}
      |                                                                                                                                                                                   ^~
main.c:1:190: error: implicit declaration of function 'puts' [-Wimplicit-function-declaration]
    1 | b[110],s[110]={0};main(q,p){while(scanf("%[^\n]%*c",b),*b-'.'){q=s+1;for(p=b;*p-'.';p++){if(*p=='('||*p=='[') *q++=*p;if(*p==')'||*p==']'){q--;if(!((*q=='('&&*p==')')||(*q=='['&&*p==']'))){puts("no");break;}}}if(*p=='.')puts(q-s-1?"no":"yes");}}
      |                                                                                                                                                                                              ^~~~
main.c:1:190: note: include '<stdio.h>' or provide a declaration of 'puts'
main.c:1:213: error: invalid type argument of unary '*' (have 'int')
    1 | b[110],s[110]={0};main(q,p){while(scanf("%[^\n]%*c",b),*b-'.'){q=s+1;for(p=b;*p-'.';p++){if(*p=='('||*p=='[') *q++=*p;if(*p==')'||*p==']'){q--;if(!((*q=='('&&*p==')')||(*q=='['&&*p==']'))){puts("no");break;}}}if(*p=='.')puts(q-s-1?"no":"yes");}}
      |                                                                                                                                                                                                                     ^~
main.c:1:227: error: invalid operands to binary - (have 'int' and 'int *')
    1 | b[110],s[110]={0};main(q,p){while(scanf("%[^\n]%*c",b),*b-'.'){q=s+1;for(p=b;*p-'.';p++){if(*p=='('||*p=='[') *q++=*p;if(*p==')'||*p==']'){q--;if(!((*q=='('&&*p==')')||(*q=='['&&*p==']'))){puts("no");break;}}}if(*p=='.')puts(q-s-1?"no":"yes");}}
      |                                                                                                                                                                                                                                   ^
      |