Borderou de evaluare (job #2900853)
Utilizator | Data | 12 mai 2022 11:23:49 | |
---|---|---|---|
Problema | Flux maxim | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int dfs(int, int)':
main.cpp:49:37: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
49 | for ( int& i = first_good[i]; i < edges[node].size(); i ++ ) {
| ~~^~~~~~~~~~~~~~~~~~~~
main.cpp:50:26: error: cannot convert 'std::vector<int>' to 'int' in initialization
50 | int nxt = edges[i];
| ~~~~~~~^
| |
| std::vector<int>
main.cpp: In function 'int flux()':
main.cpp:65:31: error: 'n' was not declared in this scope
65 | for ( int i = 1; i <= n; i ++ ) first_good[i] = 0;
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !