Borderou de evaluare (job #905706)

Utilizator Stefan.alexandruStefan Alexandru Ionut Stefan.alexandru Data 6 martie 2013 08:38:48
Problema BFS - Parcurgere in latime Status done
Runda Arhiva educationala Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c:1:19: error: fstream: No such file or directory user.c:2:20: error: iostream: No such file or directory user.c:3:18: error: vector: No such file or directory user.c:4:17: error: queue: No such file or directory user.c:5: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘namespace’ user.c:6: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘f’ user.c:7: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘h’ user.c:9: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘<’ token user.c:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘<’ token user.c:11: error: variably modified ‘d’ at file scope user.c: In function ‘citire’: user.c:15: error: ‘f’ undeclared (first use in this function) user.c:15: error: (Each undeclared identifier is reported only once user.c:15: error: for each function it appears in.) user.c:19: error: ‘a’ undeclared (first use in this function) user.c: In function ‘bfs’: user.c:26: error: ‘for’ loop initial declarations are only allowed in C99 mode user.c:26: note: use option -std=c99 or -std=gnu99 to compile your code user.c:28: error: ‘q’ undeclared (first use in this function) user.c:34: error: ‘size_t’ undeclared (first use in this function) user.c:34: error: expected ‘;’ before ‘i’ user.c:34: error: ‘a’ undeclared (first use in this function) user.c: In function ‘main’: user.c:49: error: ‘for’ loop initial declarations are only allowed in C99 mode user.c:50: error: ‘h’ undeclared (first use in this function)

Ceva nu functioneaza?