Record Detail

Compile Error

/in/main.c: In function 'main':
/in/main.c:13:13: error: format '%d' expects argument of type 'int *', but argument 2 has type 'unsigned int *' [-Werror=format=]
     scanf("%d",&input_seed);
             ^
/in/main.c:17:17: error: format '%s' expects argument of type 'char *', but argument 2 has type 'char (*)[4]' [-Werror=format=]
         scanf("%s%d",&con_i.name,&con_i.rank);
                 ^
/in/main.c:20:22: error: expected ';' before ')' token
     for(int j=1;j<=16){
                      ^
/in/main.c: In function 'random_number':
/in/main.c:30:1: error: control reaches end of non-void function [-Werror=return-type]
 }
 ^
cc1: all warnings being treated as errors

Information

Submit By
Type
Submission
Homework
Lab 5
Language
C
Submit At
2018-06-25 20:48:49
Judged At
2018-06-25 20:48:49
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes