Borderou de evaluare (job #1864193)
| Utilizator | Data | 31 ianuarie 2017 16:36:37 | |
|---|---|---|---|
| Problema | Biscuiti | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
user.cpp:12:15: error: size of array ‘tree’ is too large
int tree[1<<30];
^
user.cpp:13:15: error: size of array ‘lazy’ is too large
int lazy[1<<30];
^
user.cpp: In function ‘void build_tree(int, int, int)’:
user.cpp:19:7: error: ‘tree’ was not declared in this scope
tree[node] = arr[a];
^
user.cpp:26:2: error: ‘tree’ was not declared in this scope
tree[node] = min(tree[node*2], tree[node*2+1]);
^
user.cpp: In function ‘void update_tree(int, int, int, int, int, int)’:
user.cpp:32:7: error: ‘lazy’ was not declared in this scope
if(lazy[node] != 0) {
^
user.cpp:33:6: error: ‘tree’ was not declared in this scope
tree[node] += lazy[node];
^
user.cpp:47:7: error: ‘tree’ was not declared in this scope
tree[node] += value;
^
user.cpp:50:4: error: ‘lazy’ was not declared in this scope
lazy[node*2] += value;
^
user.cpp:60:2: error: ‘tree’ was not declared in this scope
tree[node] = min(tree[node*2], tree[node*2+1]);
^
user.cpp: In function ‘int query_tree(int, int, int, int, int)’:
user.cpp:68:5: error: ‘lazy’ was not declared in this scope
if(lazy[node] != 0) {
^
user.cpp:69:3: error: ‘tree’ was not declared in this scope
tree[node] += lazy[node];
^
user.cpp:80:10: error: ‘tree’ was not declared in this scope
return tree[node];
^
user.cpp: In function ‘void update(int, int, int, int, int)’:
user.cpp:97:9: error: ‘tree’ was not declared in this scope
tree[node] = val;
^
user.cpp:110:9: error: ‘tree’ was not declared in this scope
tree[node] = lazy[node] + min(tree[2*node], tree[2*node+1]);
^
user.cpp:110:22: error: ‘lazy’ was not declared in this scope
tree[node] = lazy[node] + min(tree[2*node], tree[2*node+1]);
^
user.cpp: In function ‘void find_pos_and_udate(int, int, int)’:
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
