Pagini recente » Borderou de evaluare (job #2620994) | Borderou de evaluare (job #2942940) | Borderou de evaluare (job #938943) | Borderou de evaluare (job #2623315) | Borderou de evaluare (job #2190362)
Borderou de evaluare (job #2190362)
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 |
1 | 0ms | 880kb | OK | 10 |
2 | 0ms | 800kb | OK | 10 |
3 | 0ms | 932kb | OK | 10 |
4 | 4ms | 876kb | OK | 10 |
5 | 12ms | 828kb | OK | 10 |
6 | 84ms | 2676kb | OK | 10 |
7 | 260ms | 6144kb | OK | 10 |
8 | 240ms | 8484kb | OK | 10 |
9 | Depăşit | 18992kb | Time limit exceeded. | 0 |
10 | Depăşit | 18932kb | Time limit exceeded. | 0 |
Punctaj total | 80 |