Borderou de evaluare (job #266819)

Utilizator ditiBilescu Adrian diti Data 26 februarie 2009 09:57:20
Problema BFS - Parcurgere in latime Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:4: error: ISO C++ forbids declaration of 'adauga' with no type user.cpp: In function 'int adauga(long int, long int)': user.cpp:6: error: 'nod' was not declared in this scope user.cpp:6: error: 'element' was not declared in this scope user.cpp:6: error: expected type-specifier before 'nod' user.cpp:6: error: expected `;' before 'nod' user.cpp:7: error: 'k' was not declared in this scope user.cpp:8: error: 'q' was not declared in this scope user.cpp:8: error: 'a' was not declared in this scope user.cpp: At global scope: user.cpp:19: error: ISO C++ forbids declaration of 'bfs' with no type user.cpp: In function 'int bfs(long int)': user.cpp:23: error: 'nod' was not declared in this scope user.cpp:23: error: 'e' was not declared in this scope user.cpp:23: error: 'p' was not declared in this scope user.cpp:24: error: 'current' was not declared in this scope user.cpp: In function 'int main()': user.cpp:45: warning: format '%ld' expects type 'long int*', but argument 2 has type 'int*' user.cpp:45: warning: format '%ld' expects type 'long int*', but argument 3 has type 'int*' user.cpp:45: warning: format '%ld' expects type 'long int*', but argument 4 has type 'int*' user.cpp:47: error: 'i' was not declared in this scope user.cpp:49: warning: format '%ld' expects type 'long int*', but argument 2 has type 'int*' user.cpp:49: warning: format '%ld' expects type 'long int*', but argument 3 has type 'int*' user.cpp:41: warning: unused variable 'a'

Ceva nu functioneaza?