Borderou de evaluare (job #2544290)

Utilizator bem.andreiIceman bem.andrei Data 11 februarie 2020 21:44:43
Problema Tnia Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int cautbin(int)': main.cpp:11:13: warning: statement has no effect [-Wunused-value] for(step==1; step<=n; step<<=1); ~~~~^~~ main.cpp:11:24: error: 'n' was not declared in this scope for(step==1; step<=n; step<<=1); ^ main.cpp:15:18: error: 'n' was not declared in this scope if(index>n) ^ main.cpp:19:12: error: 'h' was not declared in this scope if(h[index]<y-1) ^ main.cpp: In function 'int main()': main.cpp:60:13: error: 's' was not declared in this scope sum=s[sus-1]-s[jos-1]-(sus-jos)*(y1-1); ^ Non zero exit status: 1

Ceva nu functioneaza?