Borderou de evaluare (job #351712)
Utilizator | Data | 28 septembrie 2009 22:06:16 | |
---|---|---|---|
Problema | Jetoane | Status | done |
Runda | CNRV #1 | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
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:34:2: warning: no newline at end of file
user.cpp: In function 'int main()':
user.cpp:3: error: redeclaration of 'int min'
user.cpp:3: error: 'int min' previously declared here
user.cpp:3: error: redeclaration of 'int max'
user.cpp:3: error: 'int max' previously declared here
user.cpp:7: error: 'i' was not declared in this scope
user.cpp:10: error: 'j' was not declared in this scope
user.cpp:15: error: expected primary-expression before 'else'
user.cpp:15: error: expected `;' before 'else'
user.cpp:18: error: expected primary-expression before 'else'
user.cpp:18: error: expected `;' before 'else'
user.cpp:23: error: expected primary-expression before 'else'
user.cpp:23: error: expected `;' before 'else'
user.cpp:26: error: expected primary-expression before 'else'
user.cpp:26: error: expected `;' before 'else'
user.cpp:32: error: expected `;' before 'f'
user.cpp:34: error: expected `}' at end of input
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !