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:51:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d", &eSize);
     ^~~~~~~~~~~~~~~~~~~
main.c:52:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d", &vSize);
     ^~~~~~~~~~~~~~~~~~~
main.c:67:9: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
         scanf("%d", &v1);
         ^~~~~~~~~~~~~~~~
main.c:68:9: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
         scanf("%d", &v2);
         ^~~~~~~~~~~~~~~~
main.c:69: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 300.0 KiB
#2 Accepted Detail 1ms 316.0 KiB
#3 Accepted Detail 1ms 252.0 KiB
#4 Accepted Detail 1ms 256.0 KiB
#5 Accepted Detail 1ms 328.0 KiB

Information

Submit By
Type
Submission
Homework
Lab 2
Language
GNU Make
Submit At
2019-09-25 22:11:24
Judged At
2019-09-25 22:11:24
Judged By
Score
100
Total Time
5ms
Peak Memory
328.0 KiB