Borderou de evaluare (job #742322)

Utilizator Theorytheo .c Theory Data 29 aprilie 2012 15:46:30
Problema Arbore partial de cost minim Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:11: error: ‘int select [200000]’ redeclared as different kind of symbol /usr/include/sys/select.h:109: error: previous declaration of ‘int select(int, fd_set*, fd_set*, fd_set*, timeval*)’ user.cpp: In function ‘int find(int)’: user.cpp:24: warning: unused variable ‘i’ user.cpp:24: warning: unused variable ‘j’ user.cpp: In function ‘void det_apm()’: user.cpp:60: warning: pointer to a function used in arithmetic user.cpp:60: error: assignment of read-only location ‘*(select + ((unsigned int)(++ Nr)))’ user.cpp:60: error: cannot convert ‘int’ to ‘int(int, fd_set*, fd_set*, fd_set*, timeval*)’ in assignment user.cpp:69: warning: pointer to a function used in arithmetic user.cpp:69: error: invalid types ‘Muchie [400001][int(int, fd_set*, fd_set*, fd_set*, timeval*)]’ for array subscript user.cpp:69: warning: pointer to a function used in arithmetic user.cpp:69: error: invalid types ‘Muchie [400001][int(int, fd_set*, fd_set*, fd_set*, timeval*)]’ for array subscript user.cpp:69: warning: pointer to a function used in arithmetic user.cpp:69: error: invalid types ‘Muchie [400001][int(int, fd_set*, fd_set*, fd_set*, timeval*)]’ for array subscript user.cpp:48: warning: unused variable ‘j’

Ceva nu functioneaza?