/in/main.c:4:6: error: return type of 'main' is not 'int' [-Werror=main]
void main(){
^~~~
/in/main.c: In function 'main':
/in/main.c:32:9: error: 'return' with a value, in function returning void [-Werror]
return 0;
^
/in/main.c:4:6: note: declared here
void main(){
^~~~
/in/main.c:21:19: error: iteration 7 invokes undefined behavior [-Werror=aggressive-loop-optimizations]
winrate[x]=(rank[2*x]+k)/(rank[2*x-1]+rank[2*x]+2*k);
~~~~^~~~~
/in/main.c:20:2: note: within this loop
for(x=1;x<9;x++){
^~~
/in/main.c:17:12: error: iteration 7 invokes undefined behavior [-Werror=aggressive-loop-optimizations]
random[x]=rand()/(RAND_MAX+1.0);
~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
/in/main.c:16:2: note: within this loop
for(x=1;x<9;x++){
^~~
cc1: all warnings being treated as errors