Record Detail

Wrong Answer

/in/lab5.c: In function 'push1':
/in/lab5.c:20:18: warning: array subscript is outside array bounds [-Warray-bounds]
         s1->data1[++s1->top1] = input1;
         ~~~~~~~~~^~~~~~~~~~~~
/in/lab5.c: In function 'push2':
/in/lab5.c:26:18: warning: array subscript is outside array bounds [-Warray-bounds]
         s2->data2[++s2->top2] = input2;
         ~~~~~~~~~^~~~~~~~~~~~
/in/lab5.c: In function 'main':
/in/lab5.c:26:18: warning: array subscript is outside array bounds [-Warray-bounds]
         s2->data2[++s2->top2] = input2;
         ~~~~~~~~~^~~~~~~~~~~~
/in/lab5.c:26:18: warning: array subscript is outside array bounds [-Warray-bounds]
         s2->data2[++s2->top2] = input2;
         ~~~~~~~~~^~~~~~~~~~~~
/in/lab5.c:26:18: warning: array subscript is outside array bounds [-Warray-bounds]
         s2->data2[++s2->top2] = input2;
         ~~~~~~~~~^~~~~~~~~~~~
/in/lab5.c:20:18: warning: array subscript is outside array bounds [-Warray-bounds]
         s1->data1[++s1->top1] = input1;
         ~~~~~~~~~^~~~~~~~~~~~
/in/lab5.c:26:18: warning: array subscript is outside array bounds [-Warray-bounds]
         s2->data2[++s2->top2] = input2;
         ~~~~~~~~~^~~~~~~~~~~~
/in/lab5.c:26:18: warning: array subscript is outside array bounds [-Warray-bounds]
         s2->data2[++s2->top2] = input2;
         ~~~~~~~~~^~~~~~~~~~~~
/in/lab5.c:20:18: warning: array subscript is outside array bounds [-Warray-bounds]
         s1->data1[++s1->top1] = input1;
         ~~~~~~~~~^~~~~~~~~~~~
/in/lab5.c:20:18: warning: array subscript is outside array bounds [-Warray-bounds]
         s1->data1[++s1->top1] = input1;
         ~~~~~~~~~^~~~~~~~~~~~
/in/lab5.c:20:18: warning: array subscript is outside array bounds [-Warray-bounds]
         s1->data1[++s1->top1] = input1;
         ~~~~~~~~~^~~~~~~~~~~~
/in/lab5.c:26:18: warning: array subscript is outside array bounds [-Warray-bounds]
         s2->data2[++s2->top2] = input2;
         ~~~~~~~~~^~~~~~~~~~~~
/in/lab5.c:26:18: warning: array subscript is outside array bounds [-Warray-bounds]
         s2->data2[++s2->top2] = input2;
         ~~~~~~~~~^~~~~~~~~~~~
/in/lab5.c:26:18: warning: array subscript is outside array bounds [-Warray-bounds]
         s2->data2[++s2->top2] = input2;
         ~~~~~~~~~^~~~~~~~~~~~
/in/lab5.c:26:18: warning: array subscript is outside array bounds [-Warray-bounds]
         s2->data2[++s2->top2] = input2;
         ~~~~~~~~~^~~~~~~~~~~~
# Status Time Cost Memory Cost
#1 Wrong Answer Detail 15ms 6.312 MiB

Information

Submit By
Type
Submission
Homework
Lab 5: CASIO-fx991
Language
C
Submit At
2024-11-14 23:50:48
Judged At
2024-11-14 23:50:48
Judged By
Score
0
Total Time
15ms
Peak Memory
6.312 MiB