Borderou de evaluare (job #17265)

Utilizator horaxCont de teste horax Data 15 februarie 2007 15:49:26
Problema Graf Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: In file included from /usr/include/c++/3.3/backward/fstream.h:31, from user.cpp:1: /usr/include/c++/3.3/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated. user.cpp:2: error: ISO C++ forbids declaration of `nmax' with no type user.cpp: In function `void bfs(int, int*)': user.cpp:14: error: `setmem' undeclared (first use this function) user.cpp:14: error: (Each undeclared identifier is reported only once for each function it appears in.) user.cpp:13: warning: unused variable `node*q' user.cpp: At global scope: user.cpp:37: error: `main' must return `int' user.cpp:37: error: return type for `main' changed to `int' user.cpp: In function `int main(...)': user.cpp:76: error: `endl' undeclared (first use this function) user.cpp:80:2: warning: no newline at end of file

Ceva nu functioneaza?