Borderou de evaluare (job #2819278)
Utilizator | Data | 18 decembrie 2021 10:48:13 | |
---|---|---|---|
Problema | Arbore partial de cost minim | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:124:10: error: redefinition of 'std::ifstream fin'
124 | ifstream fin("apm.in");
| ^~~
main.cpp:25:10: note: 'std::ifstream fin' previously declared here
25 | ifstream fin("apm.in");
| ^~~
main.cpp:125:10: error: redefinition of 'std::ofstream fout'
125 | ofstream fout("apm.out");
| ^~~~
main.cpp:26:10: note: 'std::ofstream fout' previously declared here
26 | ofstream fout("apm.out");
| ^~~~
main.cpp:127:8: error: redefinition of 'struct muchie'
127 | struct muchie
| ^~~~~~
main.cpp:28:8: note: previous definition of 'struct muchie'
28 | struct muchie
| ^~~~~~
main.cpp:137:8: error: redefinition of 'muchie a [400002]'
137 | muchie a[400002];
| ^
main.cpp:38:8: note: 'muchie a [400002]' previously declared here
38 | muchie a[400002];
| ^
main.cpp:138:5: error: redefinition of 'int n'
138 | int n, m, t[200002], costMin;
| ^
main.cpp:39:5: note: 'int n' previously declared here
39 | int n, m, t[200002], costMin;
| ^
main.cpp:138:8: error: redefinition of 'int m'
138 | int n, m, t[200002], costMin;
| ^
main.cpp:39:8: note: 'int m' previously declared here
39 | int n, m, t[200002], costMin;
| ^
main.cpp:138:11: error: redefinition of 'int t [200002]'
138 | int n, m, t[200002], costMin;
| ^
main.cpp:39:11: note: 'int t [200002]' previously declared here
39 | int n, m, t[200002], costMin;
| ^
main.cpp:138:22: error: redefinition of 'int costMin'
138 | int n, m, t[200002], costMin;
| ^~~~~~~
main.cpp:39:22: note: 'int costMin' previously declared here
39 | int n, m, t[200002], costMin;
| ^~~~~~~
main.cpp:140:6: error: redefinition of 'void Union(int, int)'
140 | void Union(int x, int y)
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !