Borderou de evaluare (job #517634)

Utilizator LilJoeFangli Andrei LilJoe Data 29 decembrie 2010 13:28:48
Problema Jocul Flip 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/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:67:2: warning: no newline at end of file user.cpp: In function 'void flip(int*)': user.cpp:11: error: invalid types 'int[int]' for array subscript user.cpp:14: error: invalid types 'int[int]' for array subscript user.cpp: At global scope: user.cpp:16: error: expected ',' or '...' before '*' token user.cpp: In function 'void calc(int)': user.cpp:23: error: invalid types 'int[int]' for array subscript user.cpp:23: error: invalid types 'int[int]' for array subscript user.cpp:24: error: invalid types 'int[int]' for array subscript user.cpp:24: error: invalid types 'int[int]' for array subscript user.cpp: In function 'int main()': user.cpp:16: error: too few arguments to function 'void calc(int)' user.cpp:48: error: at this point in file user.cpp:53: error: cannot convert 'int (*)[(((unsigned int)(((int)m) - 1)) + 1u)]' to 'int*' for argument '1' to 'void flip(int*)' user.cpp:16: error: too few arguments to function 'void calc(int)' user.cpp:54: error: at this point in file user.cpp:57: error: cannot convert 'int (*)[(((unsigned int)(((int)m) - 1)) + 1u)]' to 'int*' for argument '1' to 'void flip(int*)'

Ceva nu functioneaza?