Borderou de evaluare (job #565743)

Utilizator avatar matei_bogdan Matei Bogdan matei_bogdan IP ascuns
Problemă Cod (clasa a 6-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 3 oct. 2020 22:18:06 Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int selectie(int*, int, int*)’: user.cpp:8:11: warning: unused variable ‘j’ [-Wunused-variable] user.cpp: In function ‘int main()’: user.cpp:149:5: error: expected ‘;’ before ‘for’ user.cpp:149:19: warning: statement has no effect [-Wunused-value] user.cpp:149:24: error: expected ‘;’ before ‘)’ token user.cpp:160:23: error: invalid conversion from ‘long int*’ to ‘int*’ [-fpermissive] user.cpp:6:5: error: initializing argument 1 of ‘int selectie(int*, int, int*)’ [-fpermissive] user.cpp:160:23: error: invalid conversion from ‘long int*’ to ‘int*’ [-fpermissive] user.cpp:6:5: error: initializing argument 3 of ‘int selectie(int*, int, int*)’ [-fpermissive] user.cpp:163:13: error: ‘j’ was not declared in this scope user.cpp:169:13: error: ‘j’ was not declared in this scope user.cpp:172:13: error: ‘j’ was not declared in this scope user.cpp:144:48: warning: unused variable ‘nr’ [-Wunused-variable]