Borderou de evaluare (job #2604980)
Utilizator | Data | 24 aprilie 2020 10:33:45 | |
---|---|---|---|
Problema | Negot | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'bool bfs(int)':
main.cpp:23:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
viz[i] = tata[i] = 0;
~~~~~~~~^~~
main.cpp:29:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for ( int i = 0; i < graph[node].size ( ); i++ ){
~~^~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:63:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for ( i = 0; i < graph[D].size ( ); i++ ){
~~^~~~~~~~~~~~~~~~~~~
main.cpp:65:36: error: 'F' was not declared in this scope
if ( viz[node] == 0 || F[node][D] == 1 )
^
main.cpp:67:27: error: 'F' was not declared in this scope
int Min = 1 - F[node][D], cap;
^
main.cpp:70:21: error: 'cap' was not declared in this scope
cap = 1;
^~~
main.cpp:72:21: error: 'cap' was not declared in this scope
cap = k;
^~~
main.cpp:73:34: error: 'cap' was not declared in this scope
Min = min ( Min, cap - F[tata[node]][node] );
^~~
main.cpp:77:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for ( j = 0; j < graph[node].size ( ); j++ )
~~^~~~~~~~~~~~~~~~~~~~~~
main.cpp:81:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for ( j = 0; j < graph[D].size ( ); j++ )
~~^~~~~~~~~~~~~~~~~~~
main.cpp:86:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for ( j = 0; j < graph[tata[node]].size ( ); j++ )
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:91:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for ( j = 0; j < graph[node].size ( ); j++ )
~~^~~~~~~~~~~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !