Borderou de evaluare (job #1351021)
Utilizator | Data | 21 februarie 2015 09:13:53 | |
---|---|---|---|
Problema | Arbori de intervale | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:9:11: error: ‘Nmax’ was not declared in this scope
int N,M,v[Nmax],MAX[4*NMAX], MIN[4*NMAX]sol,A,B,x,y,val,op;
^
user.cpp:9:41: error: expected initializer before ‘sol’
int N,M,v[Nmax],MAX[4*NMAX], MIN[4*NMAX]sol,A,B,x,y,val,op;
^
user.cpp: In function ‘void Update(int, int, int)’:
user.cpp:13:10: error: ‘A’ was not declared in this scope
if (A <= st && dr <= B)
^
user.cpp:13:27: error: ‘B’ was not declared in this scope
if (A <= st && dr <= B)
^
user.cpp:15:23: error: ‘MIN’ was not declared in this scope
MAX[node] = MIN[node] = val;
^
user.cpp:15:35: error: ‘val’ was not declared in this scope
MAX[node] = MIN[node] = val;
^
user.cpp:19:10: error: ‘A’ was not declared in this scope
if (A <= mij) Update(left, st, mij);
^
user.cpp:21:14: error: ‘s1’ was not declared in this scope
if (MAX[s1] > MAX[s2])MAX[node] = MAX[left];
^
user.cpp:21:24: error: ‘s2’ was not declared in this scope
if (MAX[s1] > MAX[s2])MAX[node] = MAX[left];
^
user.cpp:24:10: error: ‘MIN’ was not declared in this scope
if (MIN[s1] < MIN[s2])MAX[node] = MAX[left];
^
user.cpp:24:14: error: ‘s1’ was not declared in this scope
if (MIN[s1] < MIN[s2])MAX[node] = MAX[left];
^
user.cpp:24:24: error: ‘s2’ was not declared in this scope
if (MIN[s1] < MIN[s2])MAX[node] = MAX[left];
^
user.cpp: In function ‘void Query(int, int, int)’:
user.cpp:30:9: error: ‘A’ was not declared in this scope
if(A <= st && dr <= B)
^
user.cpp:30:26: error: ‘B’ was not declared in this scope
if(A <= st && dr <= B)
^
user.cpp:32:15: error: ‘sol’ was not declared in this scope
if (sol < MAX[node]) sol = MAX[node];
^
user.cpp:33:15: error: ‘sol’ was not declared in this scope
if (sol > MIN[node]) sol = MIN[node];
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !