Borderou de evaluare (job #140537)

Utilizator warangeldinu sorin warangel Data 21 februarie 2008 22:44:00
Problema Regiuni Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare in evaluator: In file included from /usr/include/c++/4.2/backward/fstream.h:31, from user.cpp:1: /usr/include/c++/4.2/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 <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated. user.cpp:59:2: warning: no newline at end of file user.cpp:24: error: new types may not be defined in a return type user.cpp:24: note: (perhaps a semicolon is missing after the definition of 'retinute') user.cpp:24: error: two or more data types in declaration of 'rez_k' user.cpp:44: error: '::main' must return 'int' user.cpp: In function 'int main()': user.cpp:48: error: conflicting declaration 'linie l [1000]' user.cpp:47: error: 'l' has a previous declaration as 'int l' user.cpp:50: error: invalid types 'int[int]' for array subscript user.cpp:50: error: invalid types 'int[int]' for array subscript user.cpp:50: error: invalid types 'int[int]' for array subscript user.cpp:51: error: name lookup of 'i' changed for new ISO 'for' scoping user.cpp:50: error: using obsolete binding at 'i' user.cpp:54: error: 'rez_k' was not declared in this scope user.cpp:55: error: invalid conversion from 'int' to 'linie*' user.cpp:55: error: initializing argument 3 of 'int rez_l(int, int, linie*, int)' user.cpp:58: error: no match for 'operator>>' in 'fo >> nr'

Ceva nu functioneaza?