Borderou de evaluare (job #580976)

Utilizator okros_alexandruOkros Alexandru okros_alexandru Data 13 aprilie 2011 17:43:32
Problema Algoritmul lui Dijkstra Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function 'void read(std::istream&, int&)': user.cpp:55: error: lvalue required as left operand of assignment user.cpp:55: error: ISO C++ forbids comparison between pointer and integer user.cpp: In function 'void citire()': user.cpp:65: error: no matching function for call to 'read(int&)' /usr/include/unistd.h:327: note: candidates are: ssize_t read(int, void*, size_t) user.cpp:39: note: void read(std::istream&, int&) user.cpp:65: error: no matching function for call to 'read(int&)' /usr/include/unistd.h:327: note: candidates are: ssize_t read(int, void*, size_t) user.cpp:39: note: void read(std::istream&, int&) user.cpp:67: error: no matching function for call to 'read(int&)' /usr/include/unistd.h:327: note: candidates are: ssize_t read(int, void*, size_t) user.cpp:39: note: void read(std::istream&, int&) user.cpp:67: error: no matching function for call to 'read(int&)' /usr/include/unistd.h:327: note: candidates are: ssize_t read(int, void*, size_t) user.cpp:39: note: void read(std::istream&, int&) user.cpp:67: error: no matching function for call to 'read(int&)' /usr/include/unistd.h:327: note: candidates are: ssize_t read(int, void*, size_t) user.cpp:39: note: void read(std::istream&, int&) user.cpp: In function 'void dijkstra()': user.cpp:84: warning: comparison between signed and unsigned integer expressions user.cpp:74: warning: unused variable 'i'

Ceva nu functioneaza?