Borderou de evaluare (job #2607355)
Utilizator | Data | 29 aprilie 2020 17:22:51 | |
---|---|---|---|
Problema | Lowest Common Ancestor | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:12:91: error: expected initializer before '.' token
int lst[N], urm[2*M], vf[2*M], nr, e[N], prima[N], rmq[L][2*N], nc, nivel[N], rez, log2[N]. t[N];
^
main.cpp: In function 'void dfs(int)':
main.cpp:26:22: error: 't' was not declared in this scope
nivel[x]=1+nivel[t[x]];
^
main.cpp: In function 'void log(int)':
main.cpp:41:5: error: 'log2' was not declared in this scope
log2[1]=0;
^~~~
main.cpp: In function 'int lca(int, int)':
main.cpp:55:11: error: 'log2' was not declared in this scope
int l=log2[py-px+1];
^~~~
main.cpp: In function 'int main()':
main.cpp:70:9: error: 't' was not declared in this scope
t[i]=x;
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !