Record Detail

Compile Error

/in/main.c: In function 'main':
/in/main.c:34:20: error: format '%d' expects argument of type 'int *', but argument 3 has type 'float *' [-Werror=format=]
         scanf("%d %d", &seed, &k);
                    ^
/in/main.c:46:9: error: unused variable 'j' [-Werror=unused-variable]
     int j = 0;
         ^
cc1: all warnings being treated as errors

Information

Submit By
Type
Submission
Homework
Lab 5
Language
C
Submit At
2018-07-05 13:55:54
Judged At
2018-07-05 13:55:54
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes