Borderou de evaluare (job #2109243)

Utilizator AlexandruGabrielAliciuc Alexandru AlexandruGabriel Data 19 ianuarie 2018 12:59:26
Problema Magic Numbers Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:31:23: error: ‘d’ was not declared in this scope if (a%d==0) ^ user.cpp:33:28: error: expected primary-expression before ‘)’ token while () ^ user.cpp:34:17: error: expected primary-expression before ‘}’ token } ^ user.cpp:34:17: error: expected ‘;’ before ‘}’ token user.cpp:22:13: warning: unused variable ‘p’ [-Wunused-variable] int x,y,p,cnt=0; ^ user.cpp:22:15: warning: unused variable ‘cnt’ [-Wunused-variable] int x,y,p,cnt=0; ^

Ceva nu functioneaza?