./Main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
a,i;main(){while(~scanf("%d",&i)){while(i--){printf("%d %d\n", 1+a/30,a%30+1);}a++;}}
^
./Main.c:1:3: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
a,i;main(){while(~scanf("%d",&i)){while(i--){printf("%d %d\n", 1+a/30,a%30+1);}a++;}}
^
./Main.c:1:5: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
a,i;main(){while(~scanf("%d",&i)){while(i--){printf("%d %d\n", 1+a/30,a%30+1);}a++;}}
^
./Main.c:1:19: warning: implicitly declaring library function 'scanf' with type 'int (const char *restrict, ...)' [-Wimplicit-function-declaration]
a,i;main(){while(~scanf("%d",&i)){while(i--){printf("%d %d\n", 1+a/30,a%30+1);}a++;}}
^
./Main.c:1:19: note: include the header <stdio.h> or explicitly provide a declaration for 'scanf'
./Main.c:1:46: warning: implicitly declaring library function 'printf' with type 'int (const char *, ...)' [-Wimplicit-function-declaration]
a,i;main(){whil...