Language: C

c,d,s="%d %d\n";main(n,a,b){for(;scanf("%d ",&n),n;printf(s,c,d))for(c=a,d=b;n--;scanf(s,&a,&b),a+=a<b?d:c,b+=b<a?c:d)}

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | c,d,s="%d %d\n";main(n,a,b){for(;scanf("%d ",&n),n;printf(s,c,d))for(c=a,d=b;n--;scanf(s,&a,&b),a+=a<b?d:c,b+=b<a?c:d)}
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 'c' [-Wimplicit-int]
main.c:1:3: error: type defaults to 'int' in declaration of 'd' [-Wimplicit-int]
    1 | c,d,s="%d %d\n";main(n,a,b){for(;scanf("%d ",&n),n;printf(s,c,d))for(c=a,d=b;n--;scanf(s,&a,&b),a+=a<b?d:c,b+=b<a?c:d)}
      |   ^
main.c:1:5: error: type defaults to 'int' in declaration of 's' [-Wimplicit-int]
    1 | c,d,s="%d %d\n";main(n,a,b){for(;scanf("%d ",&n),n;printf(s,c,d))for(c=a,d=b;n--;scanf(s,&a,&b),a+=a<b?d:c,b+=b<a?c:d)}
      |     ^
main.c:1:7: error: initialization of 'int' from 'char *' makes integer from pointer without a cast [-Wint-conversion]
    1 | c,d,s="%d %d\n";main(n,a,b){for(;scanf("%d ",&n),n;printf(s,c,d))for(c=a,d=b;n--;scanf(s,&a,&b),a+=a<b?d:c,b+=b<a?c:d)}
      |       ^~~~~~~~~
main.c:1:7: error: initializer element is not computable at load time
main.c:1:17: error: return type defaults to 'int' [-Wimplicit-int]
    1 | c,d,s="%d %d\n";main(n,a,b){for(;scanf("%d ",&n),n;printf(s,c,d))for(c=a,d=b;n--;scanf(s,&a,&b),a+=a<b?d:c,b+=b<a?c:d)}
      |                 ^~~~
main.c: In function 'main':
main.c:1:17: error: type of 'n' defaults to 'int' [-Wimplicit-int]
main.c:1:17: error: type of 'a' defaults to 'int' [-Wimplicit-int]
main.c:1:17: error: type of 'b' defaults to 'int' [-Wimplicit-int]
main.c:1:34: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    1 | c,d,s="%d %d\n";main(n,a,b){for(;scanf("%d ",&n),n;printf(s,c,d))for(c=a,d=b;n--;scanf(s,&a,&b),a+=a<b?d:c,b+=b<a?c:d)}
      |                                  ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | c,d,s="%d %d\n";main(n,a,b){for(;scanf("%d ",&n),n;printf(s,c,d))for(c=a,d=b;n--;scanf(s,&a,&b),a+=a<b?d:c,b+=b<a?c:d)}
main.c:1:34: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    1 | c,d,s="%d %d\n";main(n,a,b){for(;scanf("%d ",&n),n;printf(s,c,d))for(c=a,d=b;n--;scanf(s,&a,&b),a+=a<b?d:c,b+=b<a?c:d)}
      |                                  ^~~~~
main.c:1:34: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:1:52: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    1 | c,d,s="%d %d\n";main(n,a,b){for(;scanf("%d ",&n),n;printf(s,c,d))for(c=a,d=b;n--;scanf(s,&a,&b),a+=a<b?d:c,b+=b<a?c:d)}
      |                                                    ^~~~~~
main.c:1:52: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:1:52: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:1:52: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:1:59: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
    1 | c,d,s="%d %d\n";main(n,a,b){for(;scanf("%d ",&n),n;printf(s,c,d))for(c=a,d=b;n--;scanf(s,&a,&b),a+=a<b?d:c,b+=b<a?c:d)}
      |                                                           ^
      |                                                           |
      |                                                           int
main.c:1:59: note: expected 'const char *' but argument is of type 'int'
main.c:1:88: error: passing argument 1 of 'scanf' makes pointer from integer without a cast [-Wint-conversion]
    1 | c,d,s="%d %d\n";main(n,a,b){for(;scanf("%d ",&n),n;printf(s,c,d))for(c=a,d=b;n--;scanf(s,&a,&b),a+=a<b?d:c,b+=b<a?c:d)}
      |                                                                                        ^
      |                                                                                        |
      |                                                                                        int
main.c:1:88: note: expected 'const char *' but argument is of type 'int'
main.c:1:119: error: expected expression before '}' token
    1 | c,d,s="%d %d\n";main(n,a,b){for(;scanf("%d ",&n),n;printf(s,c,d))for(c=a,d=b;n--;scanf(s,&a,&b),a+=a<b?d:c,b+=b<a?c:d)}
      |                                                                                                                       ^