Borderou de evaluare (job #2190474)

Utilizator MihaiAntonMihai Anton MihaiAnton Data 30 martie 2018 22:41:16
Problema BFS - Parcurgere in latime Status done
Runda Arhiva educationala Compilator c | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.c: In function ‘graphDestroy’: user.c:258:7: warning: unused variable ‘adjListDestroyStatus’ [-Wunused-variable] int adjListDestroyStatus = adjListDestroy(graph->adjList[i]); //destroy the adjacency list ^~~~~~~~~~~~~~~~~~~~ user.c: In function ‘graphReadFromFileWWeight’: user.c:338:3: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(inFile, "%d %d %d", &node1Id, &node2Id, &weight); //read the data ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ user.c: In function ‘graphReadFromFileWoWeight’: user.c:371:2: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(inFile, "%d %d %d", &aux, &aux, &aux); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ user.c:383:3: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(inFile, "%d %d", &node1Id, &node2Id); //read the data ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ user.c: In function ‘graphReadFromFile’: user.c:405:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.c: In function ‘main’: user.c:625:2: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(inFile, "%d %d %d", &vertexCount, &edgeCount, &sourceNode); //reads the data ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms796kbOK10
20ms872kbOK10
30ms752kbOK10
44ms868kbOK10
512ms1012kbOK10
680ms2792kbOK10
7244ms6108kbOK10
8224ms7384kbOK10
9Depăşit21612kbTime limit exceeded.0
10Depăşit21612kbTime limit exceeded.0
Punctaj total80

Ceva nu functioneaza?