Record Detail

Accepted

prepare (1/3): 
finished

make (2/3): 
g++ -Wall -O2 -o main.o -c main.c 
main.c: In function 'int main()':
main.c:85:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d", &eSize);
  ~~~~~^~~~~~~~~~~~~~
main.c:89:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d", &vSize);
  ~~~~~^~~~~~~~~~~~~~
main.c:99:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d%d%d", &n1, &n2, &w);
   ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
main.c:137:20: warning: 'min_node2' may be used uninitialized in this function [-Wmaybe-uninitialized]
   visited[min_node2] = 1;
                    ^
main.c:136:20: warning: 'min_node1' may be used uninitialized in this function [-Wmaybe-uninitialized]
   visited[min_node1] = 1;
                    ^
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 332.0 KiB
#2 Accepted Detail 1ms 252.0 KiB
#3 Accepted Detail 1ms 332.0 KiB
#4 Accepted Detail 1ms 256.0 KiB
#5 Accepted Detail 1ms 348.0 KiB

Information

Submit By
Type
Submission
Homework
Lab 2
Language
GNU Make
Submit At
2019-09-25 19:35:40
Judged At
2019-09-25 19:35:40
Judged By
Score
100
Total Time
6ms
Peak Memory
348.0 KiB