Borderou de evaluare (job #2190376)

Utilizator MihaiAntonMihai Anton MihaiAnton Data 30 martie 2018 17:17:31
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:213:7: warning: unused variable ‘adjListDestroyStatus’ [-Wunused-variable] int adjListDestroyStatus = adjListDestroy(graph->adjList[i]); //destroy the adjacency list ^~~~~~~~~~~~~~~~~~~~ user.c: In function ‘graphReadFromFileWWeight’: user.c:279: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:291: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:324: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:338: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:360:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.c: In function ‘main’: user.c:574: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 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ user.c: In function ‘adjListResize’: user.c:123:6: warning: ‘newSize’ may be used uninitialized in this function [-Wmaybe-uninitialized] int newSize; ^~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms752kbOK10
20ms808kbOK10
30ms872kbOK10
44ms856kbOK10
512ms944kbOK10
688ms5140kbOK10
7264ms11916kbOK10
8288ms19148kbOK10
9Depăşit23984kbTime limit exceeded.0
10Depăşit23980kbTime limit exceeded.0
Punctaj total80

Ceva nu functioneaza?