Borderou de evaluare (job #2905112)
Utilizator | Data | 19 mai 2022 16:49:38 | |
---|---|---|---|
Problema | Cuplaj maxim in graf bipartit | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int pairup(const int&)':
main.cpp:17:16: error: invalid type argument of unary '*' (have 'int')
17 | if (!r[*i])
| ^~
main.cpp:19:20: error: invalid type argument of unary '*' (have 'int')
19 | l[n] = *i;
| ^~
main.cpp:20:15: error: invalid type argument of unary '*' (have 'int')
20 | r[*i] = n;
| ^~
main.cpp:24:22: error: invalid type argument of unary '*' (have 'int')
24 | if (pairup(r[*i]))
| ^~
main.cpp:26:20: error: invalid type argument of unary '*' (have 'int')
26 | l[n] = *i;
| ^~
main.cpp:27:15: error: invalid type argument of unary '*' (have 'int')
27 | r[*i] = n;
| ^~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !