Borderou de evaluare (job #1369358)

Utilizator alex_HarryBabalau Alexandru alex_Harry Data 3 martie 2015 00:00:31
Problema Easy Choice Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void binSearch()’: user.cpp:47:22: error: expected primary-expression before ‘,’ token int left=0,right=,sol,mid; ^ user.cpp:50:9: error: ‘mid’ was not declared in this scope mid=(left+right)/2; ^ user.cpp:53:13: error: ‘sol’ was not declared in this scope sol=mid; ^ user.cpp:59:8: error: ‘sol’ was not declared in this scope g<<sol<<"\n"; ^

Ceva nu functioneaza?