Borderou de evaluare (job #439335)

Utilizator avatar AWP_PAW Stefan Nicola AWP_PAW IP ascuns
Problemă Cuart (clasa a 5-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 26 feb. 2019 12:15:45 Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:10:18: error: redeclaration of ‘int p’ user.cpp:10:9: error: ‘int p’ previously declared here user.cpp:30:14: error: expected ‘)’ before ‘;’ token user.cpp:30:23: warning: the address of ‘x2’ will never be NULL [-Waddress] user.cpp:30:24: error: expected ‘;’ before ‘)’ token user.cpp:32:7: warning: statement has no effect [-Wunused-value] user.cpp:64:14: error: expected ‘)’ before ‘;’ token user.cpp:64:23: warning: the address of ‘x2’ will never be NULL [-Waddress] user.cpp:64:24: error: expected ‘;’ before ‘)’ token user.cpp:66:7: warning: statement has no effect [-Wunused-value] user.cpp:10:33: warning: unused variable ‘cuartm’ [-Wunused-variable] user.cpp:10:46: warning: unused variable ‘primg’ [-Wunused-variable] user.cpp:10:52: warning: unused variable ‘primm’ [-Wunused-variable] user.cpp:30:19: error: label ‘x2’ used but not defined