Record Detail

Accepted

prepare (1/3): 
finished

make (2/3): 
gcc -g -Wall -O2 -o main.o -c main.c 
main.c: In function 'main':
main.c:35:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d", &e_num);
     ^~~~~~~~~~~~~~~~~~~
main.c:36:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d", &v_num);
     ^~~~~~~~~~~~~~~~~~~
main.c:43:9: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
         scanf("%d", &start);
         ^~~~~~~~~~~~~~~~~~~
main.c:44:9: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
         scanf("%d", &end);
         ^~~~~~~~~~~~~~~~~
main.c:45:9: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
         scanf("%d", &weight);
         ^~~~~~~~~~~~~~~~~~~~
gcc -g -Wall -O2 -o main main.o
finished

clean (3/3): 
finished

all task finished, build successfully
# Status Time Cost Memory Cost
#1 Accepted Detail 1ms 252.0 KiB
#2 Accepted Detail 0ms 332.0 KiB
#3 Accepted Detail 0ms 256.0 KiB
#4 Accepted Detail 1ms 256.0 KiB
#5 Accepted Detail 1ms 256.0 KiB

Information

Submit By
Type
Submission
Homework
Lab 2
Language
GNU Make
Submit At
2019-09-22 17:49:52
Judged At
2019-09-22 17:49:52
Judged By
Score
100
Total Time
5ms
Peak Memory
332.0 KiB