Borderou de evaluare (job #2083116)
Utilizator | Data | 7 decembrie 2017 03:45:42 | |
---|---|---|---|
Problema | Adapost 2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘punct solve()’:
user.cpp:39:5: error: ‘adapost’ was not declared in this scope
adapost.first = p[1].first;
^
user.cpp:68:23: error: ‘sumTop’ was not declared in this scope
if (mn == sumTop)
^
user.cpp:70:28: error: ‘pTop’ was not declared in this scope
minpunct = pTop;
^
user.cpp:72:28: error: ‘sumBot’ was not declared in this scope
else if (mn == sumBot)
^
user.cpp:74:28: error: ‘pBot’ was not declared in this scope
minpunct = pBot;
^
user.cpp:76:28: error: ‘sumLeft’ was not declared in this scope
else if (mn == sumLeft)
^
user.cpp:78:28: error: ‘pLeft’ was not declared in this scope
minpunct = pLeft;
^
user.cpp:82:28: error: ‘pRight’ was not declared in this scope
minpunct = pRight;
^
user.cpp:84:37: error: ‘getSum’ was not declared in this scope
if (mn >= getSum(adapost))
^
user.cpp:98:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !