Borderou de evaluare (job #2532106)
Utilizator | Data | 27 ianuarie 2020 12:58:58 | |
---|---|---|---|
Problema | Elmer | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int getMin(int, int)':
main.cpp:10:9: error: 'rata' was not declared in this scope
if (rata[a].y == zid[b].h)
^~~~
main.cpp:10:22: error: 'zid' was not declared in this scope
if (rata[a].y == zid[b].h)
^~~
main.cpp:11:16: error: 'INF' was not declared in this scope
return INF;
^~~
main.cpp:12:25: error: 'zid' was not declared in this scope
return ceil(1.00 * (zid[b].h * rata[a].x - rata[a].y * zid[b].x) /
^~~
main.cpp:12:36: error: 'rata' was not declared in this scope
return ceil(1.00 * (zid[b].h * rata[a].x - rata[a].y * zid[b].x) /
^~~~
main.cpp: In function 'int getMax(int, int)':
main.cpp:19:9: error: 'rata' was not declared in this scope
if (rata[a].y == zid[b].h)
^~~~
main.cpp:19:22: error: 'zid' was not declared in this scope
if (rata[a].y == zid[b].h)
^~~
main.cpp:20:17: error: 'INF' was not declared in this scope
return -INF;
^~~
main.cpp:21:25: error: 'zid' was not declared in this scope
return ceil(1.00 * (zid[b].h * rata[a].x - rata[a].y * zid[b].x) /
^~~
main.cpp:21:36: error: 'rata' was not declared in this scope
return ceil(1.00 * (zid[b].h * rata[a].x - rata[a].y * zid[b].x) /
^~~~
main.cpp: In function 'void precalc()':
main.cpp:26:26: error: 'n' was not declared in this scope
for (int i = 1; i <= n; i++) {
^
main.cpp:28:24: error: 'm' was not declared in this scope
while (ultSt < m && zid[ultSt + 1].x <= rata[i].x)
^
main.cpp:28:29: error: 'zid' was not declared in this scope
while (ultSt < m && zid[ultSt + 1].x <= rata[i].x)
^~~
main.cpp:28:49: error: 'rata' was not declared in this scope
while (ultSt < m && zid[ultSt + 1].x <= rata[i].x)
^~~~
main.cpp:33:13: error: 'maxPoz' was not declared in this scope
maxPoz[i][j] = min(maxPoz[i][j + 1], getMax(i, j));
^~~~~~
main.cpp:37:38: error: 'm' was not declared in this scope
for (int j = ultSt + 1; j <= m; j++) {
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !