Borderou de evaluare (job #1493946)

Utilizator DanyPrvPirvoaica Daniel DanyPrv Data 30 septembrie 2015 09:21:16
Problema Arbori de intervale Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void update(int, int, int)’: user.cpp:8:9: error: ‘a’ was not declared in this scope a[nod]=val; ^ user.cpp:16:5: error: ‘a’ was not declared in this scope a[nod]=max(a[2*nod],a[2*nod+1]); ^ user.cpp: In function ‘void query(int, int, int)’: user.cpp:20:17: error: ‘arb’ was not declared in this scope Max=max(arb[nod],Max); ^ user.cpp:28:13: error: ‘a’ was not declared in this scope Max=max(a[2*nod],a[2*nod+1]); ^

Ceva nu functioneaza?