Borderou de evaluare (job #3326880)
| Utilizator | Data | 1 decembrie 2025 00:07:54 | |
|---|---|---|---|
| Problema | Apm2 | Status | done |
| Runda | Arhiva Monthly | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp:12:12: error: size of array 'parent' is not an integral constant-expression
12 | int parent[NMAX], sz[NMAX];
| ^~~~
main.cpp:12:22: error: size of array 'sz' is not an integral constant-expression
12 | int parent[NMAX], sz[NMAX];
| ^~~~
main.cpp: In function 'int main()':
main.cpp:55:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Edge>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
55 | for (int i = 0; i < oblig.size(); i++) {
| ~~^~~~~~~~~~~~~~
main.cpp:72:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Edge>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
72 | for (int i = 0; i < normale.size(); i++) {
| ~~^~~~~~~~~~~~~~~~
main.cpp:84:20: warning: comparison of integer expressions of different signedness: 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
84 | if (sol.size() != n - 1) {
| ~~~~~~~~~~~^~~~~~~~
main.cpp:91:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
91 | for (int i = 0; i < sol.size(); i++) {
| ~~^~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
