Borderou de evaluare (job #2275352)
Utilizator | Data | 3 noiembrie 2018 09:12:43 | |
---|---|---|---|
Problema | Plantatie | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:6:15: error: 'NMAX' was not declared in this scope
int rmq[LMAX][NMAX][NMAX], lg[NMAX], n, m;
^~~~
main.cpp:6:21: error: 'NMAX' was not declared in this scope
int rmq[LMAX][NMAX][NMAX], lg[NMAX], n, m;
^~~~
main.cpp:6:31: error: 'NMAX' was not declared in this scope
int rmq[LMAX][NMAX][NMAX], lg[NMAX], n, m;
^~~~
main.cpp: In function 'int main()':
main.cpp:21:9: error: 'lg' was not declared in this scope
lg[i] = lg[i / 2] + 1;
^~
main.cpp:26:20: error: 'rmq' was not declared in this scope
fin >> rmq[0][i][j];
^~~
main.cpp:31:22: error: 'lg' was not declared in this scope
for(int k = 1; k <= lg[n]; k++) {
^~
main.cpp:36:25: error: 'rmq' was not declared in this scope
x = max(rmq[k - 1][i][j], rmq[k - 1][i + p][j + p]);
^~~
main.cpp:46:13: error: 'lg' was not declared in this scope
k = lg[mic - 1];
^~
main.cpp:46:16: error: 'mic' was not declared in this scope
k = lg[mic - 1];
^~~
main.cpp:48:17: error: 'rmq' was not declared in this scope
x = max(rmq[k][i][j], rmq[k][i + mic][j + mic]);
^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !