Borderou de evaluare (job #2109238)
Utilizator | Data | 19 ianuarie 2018 12:50:54 | |
---|---|---|---|
Problema | Sum Max | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void init()’:
user.cpp:52:5: error: ‘p’ was not declared in this scope
p = new Tmat(n);
^
user.cpp: In function ‘void sMax()’:
user.cpp:75:85: error: ‘p’ was not declared in this scope
if (h->v[i + 1][j] == h->v[i + 1][j + 1]) h->v[i][j] += h->v[i + 1][j], p->v[i][j] = p->v[i + 1][j] + p->v[i + 1][j + 1];
^
user.cpp:76:89: error: ‘p’ was not declared in this scope
else if (h->v[i + 1][j] > h->v[i + 1][j + 1]) h->v[i][j] += h->v[i + 1][j], p->v[i][j] = p->v[i + 1][j];
^
user.cpp:77:52: error: ‘p’ was not declared in this scope
else h->v[i][j] += h->v[i + 1][j + 1], p->v[i][j] = p->v[i + 1][j + 1];
^
user.cpp: In function ‘void Poss()’:
user.cpp:85:13: error: ‘p’ was not declared in this scope
fout << p->v[1][1];
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !