Borderou de evaluare (job #662779)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Valutar (Clasa a 7-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 19 sept. 2022 14:44:20 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:68:20: error: 'struct<unnamed>' has no member named 'unde'
68 | if (jucator[i].unde > N) {
| ^~~~
main.cpp:75:18: warning: use of an operand of type 'bool' in 'operator++' is deprecated [-Wdeprecated]
75 | jucator[i].pas++;
| ~~~~~~~~~~~^~~
main.cpp:77:40: error: 'struct<unnamed>' has no member named 'unde'
77 | if (jucator[i].lei >= jucator[i].unde * tip_case[jucator[i].pozitie].c) {
| ^~~~
main.cpp:81:20: error: use of an operand of type 'bool' in 'operator--' is forbidden
81 | jucator[i].pas--;
| ~~~~~~~~~~~^~~
main.cpp:87:25: error: 'pozitie_tabla' was not declared in this scope
87 | } else if (tip_case[pozitie_tabla[i]].tip == 'V') {
| ^~~~~~~~~~~~~
main.cpp:92:20: error: use of an operand of type 'bool' in 'operator--' is forbidden
92 | jucator[i].pas--;
| ~~~~~~~~~~~^~~