Borderou de evaluare (job #1999387)

Utilizator trifangrobertRobert Trifan trifangrobert Data 11 iulie 2017 00:39:05
Problema Ubercool Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘bool cautbin(long long int, int)’: user.cpp:19:38: error: conflicting declaration ‘int rez’ int left = 2, right = sqrt(x), mij, rez; ^ user.cpp:18:12: error: ‘rez’ has a previous declaration as ‘long long int rez’ long long rez; ^ user.cpp:39:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if (ok == true && rez == x) ^

Ceva nu functioneaza?