Borderou de evaluare (job #1278066)

Utilizator assa98Andrei Stanciu assa98 Data 28 noiembrie 2014 14:23:39
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 build(int, int, int)’: user.cpp:28:9: error: ‘e’ was not declared in this scope e[nod].val = v[st]; ^ user.cpp:33:5: error: ‘e’ was not declared in this scope e[nod].f1 = ++cat; ^ user.cpp:38:5: error: ‘val’ was not declared in this scope val = max(e[f1].val, e[f2].val); ^ user.cpp:38:17: error: ‘f1’ was not declared in this scope val = max(e[f1].val, e[f2].val); ^ user.cpp:38:28: error: ‘f2’ was not declared in this scope val = max(e[f1].val, e[f2].val); ^ user.cpp: In function ‘void update(int, int, int, int, int, int)’: user.cpp:43:9: error: ‘e’ was not declared in this scope e[nod].val = v; ^ user.cpp:49:9: error: ‘e’ was not declared in this scope e[nod].f1 = ++cat; ^ user.cpp:50:9: error: ‘f2’ was not declared in this scope f2 = e[ant].f2; ^ user.cpp:54:9: error: ‘e’ was not declared in this scope e[nod].f2 = ++cat; ^ user.cpp:59:5: error: ‘val’ was not declared in this scope val = max(e[e[nod].f1].val, e[e[nod].f2].val); ^ user.cpp:59:15: error: ‘e’ was not declared in this scope val = max(e[e[nod].f1].val, e[e[nod].f2].val); ^ user.cpp: At global scope: user.cpp:62:22: error: expected ‘,’ or ‘...’ before ‘st’ int query(int nodint st, int dr, int a, int b) { ^ user.cpp: In function ‘int query(int)’: user.cpp:63:8: error: ‘st’ was not declared in this scope if(st >= a && dr <= b) { ^ user.cpp:63:14: error: ‘a’ was not declared in this scope if(st >= a && dr <= b) { ^ user.cpp:63:19: error: ‘dr’ was not declared in this scope if(st >= a && dr <= b) { ^ user.cpp:63:25: error: ‘b’ was not declared in this scope

Ceva nu functioneaza?