Record Detail

Wrong Answer

/in/ex4.c: In function 'main':
/in/ex4.c:26:9: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
         scanf("%d", &weight[j++]);
         ^~~~~~~~~~~~~~~~~~~~~~~~~
/in/ex4.c:30:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d%d", &l, &r);
     ^~~~~~~~~~~~~~~~~~~~~
# Status Time Cost Memory Cost
#1 Accepted Detail 2ms 392.0 KiB
#2 Accepted Detail 2ms 532.0 KiB
#3 Wrong Answer Detail 1ms 384.0 KiB
#4 Wrong Answer Detail 1ms 384.0 KiB
#5 Wrong Answer Detail 1ms 440.0 KiB
#6 Wrong Answer Detail 4ms 440.0 KiB
#7 Wrong Answer Detail 1ms 428.0 KiB

Information

Submit By
Type
Submission
Homework
MID2 EXAM TESTING HW
Language
C
Submit At
2020-07-30 22:16:20
Judged At
2020-07-30 22:50:09
Judged By
Score
4
Total Time
16ms
Peak Memory
532.0 KiB