Borderou de evaluare (job #183956)
Utilizator | Data | 22 aprilie 2008 20:14:06 | |
---|---|---|---|
Problema | Apel | 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:131:3: warning: no newline at end of file
user.cpp: In function 'long int program(int&, int)':
user.cpp:60: warning: array subscript has type 'char'
user.cpp:61: error: invalid initialization of non-const reference of type 'int&' from a temporary of type 'int'
user.cpp:51: error: in passing argument 1 of 'long int program(int&, int)'
user.cpp:62: warning: array subscript has type 'char'
user.cpp:77: warning: array subscript has type 'char'
user.cpp:53: warning: unused variable 'l'
user.cpp: In function 'int main()':
user.cpp:109: warning: comparison between signed and unsigned integer expressions
user.cpp:111: warning: array subscript has type 'char'
user.cpp:113: warning: array subscript has type 'char'
user.cpp:118: warning: comparison between signed and unsigned integer expressions
user.cpp:121: warning: array subscript has type 'char'
user.cpp:125: warning: array subscript has type 'char'
user.cpp:128: error: invalid initialization of non-const reference of type 'int&' from a temporary of type 'int'
user.cpp:51: error: in passing argument 1 of 'long int program(int&, int)'
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !