Borderou de evaluare (job #3131917)
Utilizator | Data | 21 mai 2023 21:27:46 | |
---|---|---|---|
Problema | Hashuri | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:86:9: error: redeclaration of 'int op'
86 | int op, val, n, ok = 0;
| ^~
main.cpp:82:9: note: 'int op' previously declared here
82 | int op, val, n, ok = 0;
| ^~
main.cpp:86:13: error: redeclaration of 'int val'
86 | int op, val, n, ok = 0;
| ^~~
main.cpp:82:13: note: 'int val' previously declared here
82 | int op, val, n, ok = 0;
| ^~~
main.cpp:86:18: error: redeclaration of 'int n'
86 | int op, val, n, ok = 0;
| ^
main.cpp:82:18: note: 'int n' previously declared here
82 | int op, val, n, ok = 0;
| ^
main.cpp:86:21: error: redeclaration of 'int ok'
86 | int op, val, n, ok = 0;
| ^~
main.cpp:82:21: note: 'int ok' previously declared here
82 | int op, val, n, ok = 0;
| ^~
main.cpp:87:10: error: redeclaration of 'Hash tabela'
87 | Hash tabela;
| ^~~~~~
main.cpp:83:10: note: 'Hash tabela' previously declared here
83 | Hash tabela;
| ^~~~~~
main.cpp:112:2: error: expected '}' at end of input
112 | }
| ^
main.cpp:78:12: note: to match this '{'
78 | int main() {
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !