Borderou de evaluare (job #381838)

Utilizator arnold23Arnold Tempfli arnold23 Data 11 ianuarie 2010 19:50:44
Problema Algoritmul lui Dijkstra Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:13: error: expected constructor, destructor, or type conversion before '<' token user.cpp:13: error: expected unqualified-id before ']' token user.cpp:14: error: expected constructor, destructor, or type conversion before '<' token user.cpp: In member function 'bool comp::operator()(long int, long int)': user.cpp:17: error: 'dist' was not declared in this scope user.cpp: In function 'int main()': user.cpp:25: warning: format '%d' expects type 'int*', but argument 2 has type 'long int*' user.cpp:25: warning: format '%d' expects type 'int*', but argument 3 has type 'long int*' user.cpp:28: warning: format '%ld' expects type 'long int*', but argument 2 has type 'long int' user.cpp:28: warning: format '%ld' expects type 'long int*', but argument 3 has type 'long int' user.cpp:28: warning: format '%ld' expects type 'long int*', but argument 4 has type 'long int' user.cpp:29: error: 'v' was not declared in this scope user.cpp:34: error: 'priority_queue' was not declared in this scope user.cpp:34: error: expected primary-expression before 'long' user.cpp:34: error: expected `;' before 'long' user.cpp:36: error: 'dist' was not declared in this scope user.cpp:37: error: 'heap' was not declared in this scope user.cpp:38: error: 'dist' was not declared in this scope user.cpp:42: error: 'v' was not declared in this scope user.cpp:42: error: expected unqualified-id before numeric constant user.cpp:42: error: expected `;' before numeric constant user.cpp:42: warning: 3rd expression in for has no effect user.cpp:42: error: expected `)' before ';' token user.cpp:42: error: expected primary-expression before ')' token user.cpp:42: error: expected `;' before ')' token user.cpp:58: error: expected `}' at end of input user.cpp:58: error: expected `}' at end of input

Ceva nu functioneaza?