Record Detail

Accepted

prepare (1/3): 
finished

make (2/3): 
g++ -g -Wall -O2   -c -o main.o main.c
main.c: In function 'int main()':
main.c:9:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d", &eSize);
     ~~~~~^~~~~~~~~~~~~~
main.c:10:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d", &vSize);
     ~~~~~^~~~~~~~~~~~~~
main.c:21:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
         scanf("%d%d%d", &start, &end, &weight);
         ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -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 380.0 KiB
#2 Accepted Detail 2ms 212.0 KiB
#3 Accepted Detail 2ms 216.0 KiB
#4 Accepted Detail 2ms 208.0 KiB
#5 Accepted Detail 2ms 344.0 KiB

Information

Submit By
Type
Submission
Homework
Lab 2
Language
GNU Make
Submit At
2020-09-25 18:40:57
Judged At
2021-08-19 01:23:26
Judged By
Score
100
Total Time
10ms
Peak Memory
380.0 KiB