Borderou de evaluare (job #3321171)
| Utilizator | Data | 8 noiembrie 2025 14:26:14 | |
|---|---|---|---|
| Problema | Cerere | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp:39:11: error: redefinition of 'const int NMAX'
39 | const int NMAX = 100000;
| ^~~~
main.cpp:4:11: note: 'const int NMAX' previously defined here
4 | const int NMAX = 100000;
| ^~~~
main.cpp:40:5: error: redefinition of 'int parent [100005]'
40 | int parent[NMAX + 5];
| ^~~~~~
main.cpp:5:5: note: 'int parent [100005]' previously declared here
5 | int parent[NMAX + 5];
| ^~~~~~
main.cpp:41:5: error: redefinition of 'int level [100005]'
41 | int level[NMAX + 5];
| ^~~~~
main.cpp:6:5: note: 'int level [100005]' previously declared here
6 | int level[NMAX + 5];
| ^~~~~
main.cpp:43:5: error: redefinition of 'int main()'
43 | int main() {
| ^~~~
main.cpp:8:5: note: 'int main()' previously defined here
8 | int main() {
| ^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
