Record Detail

Compile Error

/in/debug.c: In function 'main':
/in/debug.c:15:16: error: array subscript is below array bounds [-Werror=array-bounds]
 int n1 = (int) strlen(hex1-1); // length of hex1
                ^~~~~~~~~~~~~~
/in/debug.c:16:16: error: array subscript is below array bounds [-Werror=array-bounds]
 int n2 = (int) strlen(hex2-1); // length of hex2
                ^~~~~~~~~~~~~~
cc1: all warnings being treated as errors

Information

Submit By
Type
Submission
Homework
Lab 6 Exercises
Language
C
Submit At
2022-06-23 20:07:41
Judged At
2022-06-23 20:07:41
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes