Borderou de evaluare (job #2733686)
Utilizator | andrei iorgulescu andreiiorgulescu | Data | 30 martie 2021 18:55:32 |
---|---|---|---|
Problema | Alee | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:22:11: error: conflicting declaration 'std::queue<poz> q'
queue<poz>q;
^
main.cpp:19:5: note: previous declaration as 'poz q [31329]'
poz q[N*N];
^
main.cpp: In function 'void lee1(poz)':
main.cpp:50:15: error: expected initializer before 'y'
poz x,poz y;
^
main.cpp:51:7: error: request for member 'push' in 'q', which is of non-class type 'poz [31329]'
q.push(z);
^~~~
main.cpp:53:14: error: request for member 'empty' in 'q', which is of non-class type 'poz [31329]'
while(!q.empty())
^~~~~
main.cpp:55:15: error: request for member 'front' in 'q', which is of non-class type 'poz [31329]'
x = q.front();
^~~~~
main.cpp:58:13: error: 'y' was not declared in this scope
y.l = x.l +dl[i];
^
main.cpp:62:19: error: request for member 'push' in 'q', which is of non-class type 'poz [31329]'
q.push(y);
^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !