/in/main.c:14:6: error: return type of 'main' is not 'int' [-Werror=main]
void main( )
^~~~
/in/main.c: In function 'main':
/in/main.c:21:9: error: implicit declaration of function 'gets' [-Werror=implicit-function-declaration]
gets(x[i].name);
^~~~
/in/main.c:24:5: error: this 'for' clause does not guard... [-Werror=misleading-indentation]
for(j=1;j<16;j+=2);{
^~~
/in/main.c:24:24: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(j=1;j<16;j+=2);{
^
/in/main.c:27:21: error: passing argument 1 of 'fprintf' from incompatible pointer type [-Werror=incompatible-pointer-types]
fprintf("%s win %s",x[j].name,x[j+1].name);
^~~~~~~~~~~
In file included from /in/main.c:2:0:
/usr/include/stdio.h:358:12: note: expected 'FILE * restrict {aka struct _IO_FILE * restrict}' but argument is of type 'char *'
extern int fprintf (FILE *__restrict __stream,
^~~~~~~
/in/main.c:30:21: error: passing argument 1 of 'fprintf' from incompatible pointer type [-Werror=incompatible-pointer-types]
fprintf("%s lose %s",x[j].name,x[j+1].name);
^~~~~~~~~~~~
In file included from /in/main.c:2:0:
/usr/include/stdio.h:358:12: note: expected 'FILE * restrict {aka struct _IO_FILE * restrict}' but argument is of type 'char *'
extern int fprintf (FILE *__restrict __stream,
^~~~~~~
/in/main.c:25:29: error: 'k' is used uninitialized in this function [-Werror=uninitialized]
winrate=(x[j+1].rank+k)/(x[j].rank+x[j+1].rank+2*k);
~~~~~~~~~~~~^~~
cc1: all warnings being treated as errors