Borderou de evaluare (job #3322389)
| Utilizator | Data | 13 noiembrie 2025 18:59:03 | |
|---|---|---|---|
| Problema | Robotics | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int DSU::Find(int)':
main.cpp:29:31: error: 'Tata' was not declared in this scope; did you mean 'tata'?
29 | else return tata[a] = Tata(tata[a]);
| ^~~~
| tata
main.cpp: In function 'bool DSU::Uneste(int, int)':
main.cpp:33:18: error: 'Tata' was not declared in this scope; did you mean 'tata'?
33 | int ta = Tata(a);
| ^~~~
| tata
main.cpp: In function 'bool Rezolva(int)':
main.cpp:46:32: error: 'f' was not declared in this scope
46 | for(int i = 1;i <= m; i++) f[i] = i;
| ^
main.cpp:47:24: error: expected primary-expression before ';' token
47 | for(int i = 1;i <= ; i++)
| ^
main.cpp: In function 'int main()':
main.cpp:59:45: error: 'class std::vector<int>' has no member named 'x'
59 | for(int i = 1; i <= m; i++) fin >> v[i].x >> v[i].y >> v[i].tip;
| ^
main.cpp:59:55: error: 'class std::vector<int>' has no member named 'y'
59 | for(int i = 1; i <= m; i++) fin >> v[i].x >> v[i].y >> v[i].tip;
| ^
main.cpp:59:65: error: 'class std::vector<int>' has no member named 'tip'
59 | for(int i = 1; i <= m; i++) fin >> v[i].x >> v[i].y >> v[i].tip;
| ^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
