Borderou de evaluare (job #2190469)

Utilizator MihaiAntonMihai Anton MihaiAnton Data 30 martie 2018 22:37:32
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:623: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
10ms880kbOK10
20ms872kbOK10
30ms816kbOK10
44ms816kbOK10
512ms1012kbOK10
684ms2792kbOK10
7244ms6112kbOK10
8228ms7384kbOK10
9Depăşit21612kbTime limit exceeded.0
10Depăşit21608kbTime limit exceeded.0
Punctaj total80

Ceva nu functioneaza?