Borderou de evaluare (job #271183)

Utilizator mathboyDragos-Alin Rotaru mathboy Data 4 martie 2009 22:46:05
Problema Numere 5 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: In file included from /usr/include/c++/4.2/backward/iostream.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: In function 'void Validare(int, int)': user.cpp:7: error: invalid types 'int[int]' for array subscript user.cpp:10: error: invalid types 'int[int]' for array subscript user.cpp:12: error: 'validare' was not declared in this scope user.cpp: In function 'void Posibil(int)': user.cpp:18: error: assignment of function 'void Posibil(int)' user.cpp:18: error: cannot convert 'bool' to 'void ()(int)' in assignment user.cpp:19: error: assignment of function 'void Posibil(int)' user.cpp:19: error: cannot convert 'const char [5]' to 'void ()(int)' in assignment user.cpp:20: error: assignment of function 'void Posibil(int)' user.cpp:20: error: cannot convert 'const char [5]' to 'void ()(int)' in assignment user.cpp:21: error: assignment of function 'void Posibil(int)' user.cpp:21: error: cannot convert 'const char [5]' to 'void ()(int)' in assignment user.cpp:22: error: assignment of function 'void Posibil(int)' user.cpp:22: error: cannot convert 'const char [9]' to 'void ()(int)' in assignment user.cpp: In function 'void Back(int)': user.cpp:32: error: void value not ignored as it ought to be user.cpp: At global scope: user.cpp:37: error: '::main' must return 'int' user.cpp: In function 'int main()': user.cpp:39: error: invalid conversion from 'int*' to 'int' user.cpp:39: error: initializing argument 1 of 'void Validare(int, int)' user.cpp:39: error: could not convert 'Validare(((int)(& a)), n)' to 'bool' user.cpp:40: error: 'q' was not declared in this scope user.cpp:41: error: expected primary-expression before 'else' user.cpp:41: error: expected `;' before 'else'

Ceva nu functioneaza?