Borderou de evaluare (job #153045)

Utilizator nimicLeoveanu Mihaita Alexandru nimic Data 10 martie 2008 03:16:46
Problema Parcurgere DFS - componente conexe Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare in evaluator: user.cpp:8: error: conflicting declaration 'long int poz' user.cpp:8: error: 'poz' has a previous declaration as 'long int poz [100010]' user.cpp:9: error: 'Dim' was not declared in this scope user.cpp: In function 'void cit(unsigned int&)': user.cpp:13: error: 'lin' was not declared in this scope user.cpp:14: error: lvalue required as left operand of assignment user.cpp:15: error: 'Dim' was not declared in this scope user.cpp:15: error: incompatible types in assignment of 'int' to 'long int [100010]' user.cpp:17: error: 'lin' was not declared in this scope user.cpp:18: error: lvalue required as left operand of assignment user.cpp:19: error: 'Dim' was not declared in this scope user.cpp:19: error: incompatible types in assignment of 'int' to 'long int [100010]' user.cpp: In function 'int main()': user.cpp:40: error: invalid initialization of reference of type 'unsigned int&' from expression of type 'long int' user.cpp:11: error: in passing argument 1 of 'void cit(unsigned int&)' user.cpp:40: error: invalid initialization of reference of type 'unsigned int&' from expression of type 'long int' user.cpp:11: error: in passing argument 1 of 'void cit(unsigned int&)' user.cpp:45: error: invalid initialization of reference of type 'unsigned int&' from expression of type 'long int' user.cpp:11: error: in passing argument 1 of 'void cit(unsigned int&)' user.cpp:45: error: invalid initialization of reference of type 'unsigned int&' from expression of type 'long int' user.cpp:11: error: in passing argument 1 of 'void cit(unsigned int&)'

Ceva nu functioneaza?