Borderou de evaluare (job #286753)

Utilizator avatar alexcmotea alexcmotea alexcmotea IP ascuns
Problemă Căutare1 (clasa a 5-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 1 mar. 2017 16:20:36 Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function 'int main()': user.cpp:8:38: error: conflicting declaration 'int Y [10000000]' user.cpp:8:13: error: 'Y' has a previous declaration as 'int Y' user.cpp:15:14: error: invalid types 'int[int]' for array subscript user.cpp:16:11: error: 'x' was not declared in this scope user.cpp:16:18: error: 'n' was not declared in this scope user.cpp:18:19: error: invalid types 'int[int]' for array subscript user.cpp:22:21: error: invalid types 'int[int]' for array subscript user.cpp:23:7: error: expected primary-expression before '}' token user.cpp:23:7: error: expected ';' before '}' token user.cpp:8:15: warning: unused variable 'X' [-Wunused-variable]