Language: C

main(){for(;;){a[200],b[200],c[1000],d[1000],n,m,i,j,k,t,w,q;scanf("%d",&n);if(!n)break;for(i=0;i<n;i++){scanf("%d%d",&a[i],&b[i]);}scanf("%d",&m);for(i=0;i<m;i++){scanf("%d%d",&c[i],&d[i]);}for(i=0;i<m;i++){w=c[i]-a[0];q=d[i]-b[0];for(j=1;j<n;j++){for(k=0;k<m;k++){if(!a[j]+w-c[k]){if(!b[j]+q-d[k]){t++;break;}}}}if(!t-n-1){printf("%d %d\n",w,q);t=0;break;}return 0;} 

Compiler output:
main.c:1:1: error: return type defaults to 'int' [-Wimplicit-int]
    1 | main(){for(;;){a[200],b[200],c[1000],d[1000],n,m,i,j,k,t,w,q;scanf("%d",&n);if(!n)break;for(i=0;i<n;i++){scanf("%d%d",&a[i],&b[i]);}scanf("%d",&m);for(i=0;i<m;i++){scanf("%d%d",&c[i],&d[i]);}for(i=0;i<m;i++){w=c[i]-a[0];q=d[i]-b[0];for(j=1;j<n;j++){for(k=0;k<m;k++){if(!a[j]+w-c[k]){if(!b[j]+q-d[k]){t++;break;}}}}if(!t-n-1){printf("%d %d\n",w,q);t=0;break;}return 0;}
      | ^~~~
main.c: In function 'main':
main.c:1:16: error: 'a' undeclared (first use in this function)
    1 | main(){for(;;){a[200],b[200],c[1000],d[1000],n,m,i,j,k,t,w,q;scanf("%d",&n);if(!n)break;for(i=0;i<n;i++){scanf("%d%d",&a[i],&b[i]);}scanf("%d",&m);for(i=0;i<m;i++){scanf("%d%d",&c[i],&d[i]);}for(i=0;i<m;i++){w=c[i]-a[0];q=d[i]-b[0];for(j=1;j<n;j++){for(k=0;k<m;k++){if(!a[j]+w-c[k]){if(!b[j]+q-d[k]){t++;break;}}}}if(!t-n-1){printf("%d %d\n",w,q);t=0;break;}return 0;}
      |                ^
main.c:1:16: note: each undeclared identifier is reported only once for each function it appears in
main.c:1:23: error: 'b' undeclared (first use in this function)
    1 | main(){for(;;){a[200],b[200],c[1000],d[1000],n,m,i,j,k,t,w,q;scanf("%d",&n);if(!n)break;for(i=0;i<n;i++){scanf("%d%d",&a[i],&b[i]);}scanf("%d",&m);for(i=0;i<m;i++){scanf("%d%d",&c[i],&d[i]);}for(i=0;i<m;i++){w=c[i]-a[0];q=d[i]-b[0];for(j=1;j<n;j++){for(k=0;k<m;k++){if(!a[j]+w-c[k]){if(!b[j]+q-d[k]){t++;break;}}}}if(!t-n-1){printf("%d %d\n",w,q);t=0;break;}return 0;}
      |                       ^
main.c:1:30: error: 'c' undeclared (first use in this function)
    1 | main(){for(;;){a[200],b[200],c[1000],d[1000],n,m,i,j,k,t,w,q;scanf("%d",&n);if(!n)break;for(i=0;i<n;i++){scanf("%d%d",&a[i],&b[i]);}scanf("%d",&m);for(i=0;i<m;i++){scanf("%d%d",&c[i],&d[i]);}for(i=0;i<m;i++){w=c[i]-a[0];q=d[i]-b[0];for(j=1;j<n;j++){for(k=0;k<m;k++){if(!a[j]+w-c[k]){if(!b[j]+q-d[k]){t++;break;}}}}if(!t-n-1){printf("%d %d\n",w,q);t=0;break;}return 0;}
      |                              ^
main.c:1:38: error: 'd' undeclared (first use in this function)
    1 | main(){for(;;){a[200],b[200],c[1000],d[1000],n,m,i,j,k,t,w,q;scanf("%d",&n);if(!n)break;for(i=0;i<n;i++){scanf("%d%d",&a[i],&b[i]);}scanf("%d",&m);for(i=0;i<m;i++){scanf("%d%d",&c[i],&d[i]);}for(i=0;i<m;i++){w=c[i]-a[0];q=d[i]-b[0];for(j=1;j<n;j++){for(k=0;k<m;k++){if(!a[j]+w-c[k]){if(!b[j]+q-d[k]){t++;break;}}}}if(!t-n-1){printf("%d %d\n",w,q);t=0;break;}return 0;}
      |                                      ^
main.c:1:46: error: 'n' undeclared (first use in this function)
    1 | main(){for(;;){a[200],b[200],c[1000],d[1000],n,m,i,j,k,t,w,q;scanf("%d",&n);if(!n)break;for(i=0;i<n;i++){scanf("%d%d",&a[i],&b[i]);}scanf("%d",&m);for(i=0;i<m;i++){scanf("%d%d",&c[i],&d[i]);}for(i=0;i<m;i++){w=c[i]-a[0];q=d[i]-b[0];for(j=1;j<n;j++){for(k=0;k<m;k++){if(!a[j]+w-c[k]){if(!b[j]+q-d[k]){t++;break;}}}}if(!t-n-1){printf("%d %d\n",w,q);t=0;break;}return 0;}
      |                                              ^
main.c:1:48: error: 'm' undeclared (first use in this function)
    1 | main(){for(;;){a[200],b[200],c[1000],d[1000],n,m,i,j,k,t,w,q;scanf("%d",&n);if(!n)break;for(i=0;i<n;i++){scanf("%d%d",&a[i],&b[i]);}scanf("%d",&m);for(i=0;i<m;i++){scanf("%d%d",&c[i],&d[i]);}for(i=0;i<m;i++){w=c[i]-a[0];q=d[i]-b[0];for(j=1;j<n;j++){for(k=0;k<m;k++){if(!a[j]+w-c[k]){if(!b[j]+q-d[k]){t++;break;}}}}if(!t-n-1){printf("%d %d\n",w,q);t=0;break;}return 0;}
      |                                                ^
main.c:1:50: error: 'i' undeclared (first use in this function)
    1 | main(){for(;;){a[200],b[200],c[1000],d[1000],n,m,i,j,k,t,w,q;scanf("%d",&n);if(!n)break;for(i=0;i<n;i++){scanf("%d%d",&a[i],&b[i]);}scanf("%d",&m);for(i=0;i<m;i++){scanf("%d%d",&c[i],&d[i]);}for(i=0;i<m;i++){w=c[i]-a[0];q=d[i]-b[0];for(j=1;j<n;j++){for(k=0;k<m;k++){if(!a[j]+w-c[k]){if(!b[j]+q-d[k]){t++;break;}}}}if(!t-n-1){printf("%d %d\n",w,q);t=0;break;}return 0;}
      |                                                  ^
main.c:1:52: error: 'j' undeclared (first use in this function)
    1 | main(){for(;;){a[200],b[200],c[1000],d[1000],n,m,i,j,k,t,w,q;scanf("%d",&n);if(!n)break;for(i=0;i<n;i++){scanf("%d%d",&a[i],&b[i]);}scanf("%d",&m);for(i=0;i<m;i++){scanf("%d%d",&c[i],&d[i]);}for(i=0;i<m;i++){w=c[i]-a[0];q=d[i]-b[0];for(j=1;j<n;j++){for(k=0;k<m;k++){if(!a[j]+w-c[k]){if(!b[j]+q-d[k]){t++;break;}}}}if(!t-n-1){printf("%d %d\n",w,q);t=0;break;}return 0;}
      |                                                    ^
main.c:1:54: error: 'k' undeclared (first use in this function)
    1 | main(){for(;;){a[200],b[200],c[1000],d[1000],n,m,i,j,k,t,w,q;scanf("%d",&n);if(!n)break;for(i=0;i<n;i++){scanf("%d%d",&a[i],&b[i]);}scanf("%d",&m);for(i=0;i<m;i++){scanf("%d%d",&c[i],&d[i]);}for(i=0;i<m;i++){w=c[i]-a[0];q=d[i]-b[0];for(j=1;j<n;j++){for(k=0;k<m;k++){if(!a[j]+w-c[k]){if(!b[j]+q-d[k]){t++;break;}}}}if(!t-n-1){printf("%d %d\n",w,q);t=0;break;}return 0;}
      |                                                      ^
main.c:1:56: error: 't' undeclared (first use in this function)
    1 | main(){for(;;){a[200],b[200],c[1000],d[1000],n,m,i,j,k,t,w,q;scanf("%d",&n);if(!n)break;for(i=0;i<n;i++){scanf("%d%d",&a[i],&b[i]);}scanf("%d",&m);for(i=0;i<m;i++){scanf("%d%d",&c[i],&d[i]);}for(i=0;i<m;i++){w=c[i]-a[0];q=d[i]-b[0];for(j=1;j<n;j++){for(k=0;k<m;k++){if(!a[j]+w-c[k]){if(!b[j]+q-d[k]){t++;break;}}}}if(!t-n-1){printf("%d %d\n",w,q);t=0;break;}return 0;}
      |                                                        ^
main.c:1:58: error: 'w' undeclared (first use in this function)
    1 | main(){for(;;){a[200],b[200],c[1000],d[1000],n,m,i,j,k,t,w,q;scanf("%d",&n);if(!n)break;for(i=0;i<n;i++){scanf("%d%d",&a[i],&b[i]);}scanf("%d",&m);for(i=0;i<m;i++){scanf("%d%d",&c[i],&d[i]);}for(i=0;i<m;i++){w=c[i]-a[0];q=d[i]-b[0];for(j=1;j<n;j++){for(k=0;k<m;k++){if(!a[j]+w-c[k]){if(!b[j]+q-d[k]){t++;break;}}}}if(!t-n-1){printf("%d %d\n",w,q);t=0;break;}return 0;}
      |                                                          ^
main.c:1:60: error: 'q' undeclared (first use in this function)
    1 | main(){for(;;){a[200],b[200],c[1000],d[1000],n,m,i,j,k,t,w,q;scanf("%d",&n);if(!n)break;for(i=0;i<n;i++){scanf("%d%d",&a[i],&b[i]);}scanf("%d",&m);for(i=0;i<m;i++){scanf("%d%d",&c[i],&d[i]);}for(i=0;i<m;i++){w=c[i]-a[0];q=d[i]-b[0];for(j=1;j<n;j++){for(k=0;k<m;k++){if(!a[j]+w-c[k]){if(!b[j]+q-d[k]){t++;break;}}}}if(!t-n-1){printf("%d %d\n",w,q);t=0;break;}return 0;}
      |                                                            ^
main.c:1:62: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    1 | main(){for(;;){a[200],b[200],c[1000],d[1000],n,m,i,j,k,t,w,q;scanf("%d",&n);if(!n)break;for(i=0;i<n;i++){scanf("%d%d",&a[i],&b[i]);}scanf("%d",&m);for(i=0;i<m;i++){scanf("%d%d",&c[i],&d[i]);}for(i=0;i<m;i++){w=c[i]-a[0];q=d[i]-b[0];for(j=1;j<n;j++){for(k=0;k<m;k++){if(!a[j]+w-c[k]){if(!b[j]+q-d[k]){t++;break;}}}}if(!t-n-1){printf("%d %d\n",w,q);t=0;break;}return 0;}
      |                                                              ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | main(){for(;;){a[200],b[200],c[1000],d[1000],n,m,i,j,k,t,w,q;scanf("%d",&n);if(!n)break;for(i=0;i<n;i++){scanf("%d%d",&a[i],&b[i]);}scanf("%d",&m);for(i=0;i<m;i++){scanf("%d%d",&c[i],&d[i]);}for(i=0;i<m;i++){w=c[i]-a[0];q=d[i]-b[0];for(j=1;j<n;j++){for(k=0;k<m;k++){if(!a[j]+w-c[k]){if(!b[j]+q-d[k]){t++;break;}}}}if(!t-n-1){printf("%d %d\n",w,q);t=0;break;}return 0;}
main.c:1:62: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    1 | main(){for(;;){a[200],b[200],c[1000],d[1000],n,m,i,j,k,t,w,q;scanf("%d",&n);if(!n)break;for(i=0;i<n;i++){scanf("%d%d",&a[i],&b[i]);}scanf("%d",&m);for(i=0;i<m;i++){scanf("%d%d",&c[i],&d[i]);}for(i=0;i<m;i++){w=c[i]-a[0];q=d[i]-b[0];for(j=1;j<n;j++){for(k=0;k<m;k++){if(!a[j]+w-c[k]){if(!b[j]+q-d[k]){t++;break;}}}}if(!t-n-1){printf("%d %d\n",w,q);t=0;break;}return 0;}
      |                                                              ^~~~~
main.c:1:62: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:1:326: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    1 | main(){for(;;){a[200],b[200],c[1000],d[1000],n,m,i,j,k,t,w,q;scanf("%d",&n);if(!n)break;for(i=0;i<n;i++){scanf("%d%d",&a[i],&b[i]);}scanf("%d",&m);for(i=0;i<m;i++){scanf("%d%d",&c[i],&d[i]);}for(i=0;i<m;i++){w=c[i]-a[0];q=d[i]-b[0];for(j=1;j<n;j++){for(k=0;k<m;k++){if(!a[j]+w-c[k]){if(!b[j]+q-d[k]){t++;break;}}}}if(!t-n-1){printf("%d %d\n",w,q);t=0;break;}return 0;}
      |                                                                                                                                                                                                                                                                                                                                      ^~~~~~
main.c:1:326: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:1:326: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:1:326: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:1:1: error: expected declaration or statement at end of input
    1 | main(){for(;;){a[200],b[200],c[1000],d[1000],n,m,i,j,k,t,w,q;scanf("%d",&n);if(!n)break;for(i=0;i<n;i++){scanf("%d%d",&a[i],&b[i]);}scanf("%d",&m);for(i=0;i<m;i++){scanf("%d%d",&c[i],&d[i]);}for(i=0;i<m;i++){w=c[i]-a[0];q=d[i]-b[0];for(j=1;j<n;j++){for(k=0;k<m;k++){if(!a[j]+w-c[k]){if(!b[j]+q-d[k]){t++;break;}}}}if(!t-n-1){printf("%d %d\n",w,q);t=0;break;}return 0;}
      | ^~~~
main.c:1:1: error: expected declaration or statement at end of input