Borderou de evaluare (job #2775027)

Utilizator ValiAntonieAntonie Valentin ValiAntonie Data 14 septembrie 2021 01:40:09
Problema Arbori de intervale Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:8:30: error: expected initializer before ']' token int i,n,x,v[100005],a[100005]],m,p,b,c; ^ main.cpp: In function 'void build(int, int, int)': main.cpp:12:9: error: 'a' was not declared in this scope a[nod] = v[st]; ^ main.cpp:18:5: error: 'a' was not declared in this scope a[nod] = max(a[2*nod],a[2*nod+1]); ^ main.cpp: In function 'int main()': main.cpp:23:9: error: 'm' was not declared in this scope fin>>n>>m; ^ Non zero exit status: 1

Ceva nu functioneaza?