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:23:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d", &edgenum);
     ^~~~~~~~~~~~~~~~~~~~~
main.c:27:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d", &vertexnum);
     ^~~~~~~~~~~~~~~~~~~~~~~
main.c:30:9: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
         scanf("%d", &edgeset[i].node1);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:32:9: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
         scanf("%d", &edgeset[i].node2);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:34:9: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
         scanf("%d", &edgeset[i].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 276.0 KiB
#2 Accepted Detail 1ms 256.0 KiB
#3 Accepted Detail 1ms 256.0 KiB
#4 Accepted Detail 1ms 260.0 KiB
#5 Accepted Detail 1ms 296.0 KiB

Information

Submit By
Type
Submission
Homework
Lab 2
Language
GNU Make
Submit At
2019-09-22 15:27:23
Judged At
2019-09-22 15:27:23
Judged By
Score
100
Total Time
5ms
Peak Memory
296.0 KiB