Borderou de evaluare (job #3121916)

Utilizator smoggyBorcila Vasile smoggy Data 16 aprilie 2023 09:24:11
Problema BFS - Parcurgere in latime Status done
Runda Arhiva educationala Compilator c-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.c: In function 'bfs_edges': main.c:104:25: warning: passing argument 1 of 'fopen' makes pointer from integer without a cast [-Wint-conversion] 104 | FILE* g = fopen(filename, "r"); | ^~~~~~~~ | | | char In file included from main.c:2: /usr/include/stdio.h:258:44: note: expected 'const char * restrict' but argument is of type 'char' 258 | extern FILE *fopen (const char *__restrict __filename, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ main.c: In function 'main': main.c:124:44: warning: passing argument 4 of 'bfs_edges' makes integer from pointer without a cast [-Wint-conversion] 124 | bfs_edges(newGraph, node, visited, "bfs.out"); | ^~~~~~~~~ | | | char * main.c:80:74: note: expected 'char' but argument is of type 'char *' 80 | void bfs_edges(graphEdges graph, int startNode, int* visited, const char filename) | ~~~~~~~~~~~^~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbNon zero exit status: 2550
20ms303kbNon zero exit status: 2550
30ms303kbNon zero exit status: 2550
42ms303kbNon zero exit status: 2550
512ms540kbKilled by Signal 110
621ms983kbKilled by Signal 110
730ms1986kbKilled by Signal 110
831ms1585kbKilled by Signal 110
9153ms8404kbKilled by Signal 110
10153ms8429kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?