Borderou de evaluare (job #233825)

Utilizator ooctavTuchila Octavian ooctav Data 19 decembrie 2008 13:04:44
Problema Stramosi Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare in evaluator: user.cpp:4: error: expected unqualified-id before ')' token user.cpp:10: error: conflicting declaration 'interval e [50004]' user.cpp:9: error: 'e' has a previous declaration as 'int e [50004]' user.cpp: In function 'void citire()': user.cpp:13: error: 'f1' was not declared in this scope user.cpp:16: error: request for member 'a' in 'e[i]', which is of non-class type 'int' user.cpp:16: error: request for member 'b' in 'e[i]', which is of non-class type 'int' user.cpp: In function 'int compar(const void*, const void*)': user.cpp:21: error: variable 'interval x' has initializer but incomplete type user.cpp:21: error: variable 'interval y' has initializer but incomplete type user.cpp: In function 'void calcul()': user.cpp:30: error: request for member 'b' in 'e[1]', which is of non-class type 'int' user.cpp:33: error: request for member 'a' in 'e[i]', which is of non-class type 'int' user.cpp:36: error: request for member 'b' in 'e[i]', which is of non-class type 'int' user.cpp:38: error: return-statement with a value, in function returning 'void' user.cpp: In function 'int main()': user.cpp:49: error: 'v' was not declared in this scope user.cpp:50: error: invalid use of void expression

Ceva nu functioneaza?