Borderou de evaluare (job #2697199)

Utilizator jucatorulGrigore George Alexandru jucatorul Data 17 ianuarie 2021 19:40:14
Problema Critice Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int bfs()': main.cpp:27:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0; i < a[x].size(); ++i) ~~^~~~~~~~~~~~~ main.cpp: In function 'void cale(int, int)': main.cpp:53:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0; i < a[x].size(); ++i) ~~^~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:81:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0; i < a[N].size(); ++i) ~~^~~~~~~~~~~~~ main.cpp:84:37: error: no match for 'operator[]' (operand types are 'std::ifstream {aka std::basic_ifstream<char>}' and 'int') if(!t[x] || c[x][N] == f[x][N]) continue; ^ main.cpp:86:28: error: no match for 'operator[]' (operand types are 'std::ifstream {aka std::basic_ifstream<char>}' and 'int') r = c[x][N] - f[x][N]; ^ main.cpp:87:68: error: no match for 'operator[]' (operand types are 'std::ifstream {aka std::basic_ifstream<char>}' and 'int') for(j = x; j > 1; j = t[j]) r = min(r, c[ t[j] ][j] - f[ t[j] ][j]); ^ main.cpp:90:14: error: no match for 'operator[]' (operand types are 'std::ifstream {aka std::basic_ifstream<char>}' and 'int') f[x][N] += r; ^ main.cpp:91:14: error: no match for 'operator[]' (operand types are 'std::ifstream {aka std::basic_ifstream<char>}' and 'int') f[N][x] -= r; ^ main.cpp:94:18: error: no match for 'operator[]' (operand types are 'std::ifstream {aka std::basic_ifstream<char>}' and 'int') f[ t[j] ][j] += r; ^ main.cpp:95:18: error: no match for 'operator[]' (operand types are 'std::ifstream {aka std::basic_ifstream<char>}' and 'int') f[j][ t[j] ] -= r; ^ main.cpp:105:13: error: no match for 'operator[]' (operand types are 'std::ifstream {aka std::basic_ifstream<char>}' and 'int') if(f[x][y] < 0) swa(x,y); ^ main.cpp:105:32: error: 'swa' was not declared in this scope if(f[x][y] < 0) swa(x,y); ^ main.cpp:106:13: error: no match for 'operator[]' (operand types are 'std::ifstream {aka std::basic_ifstream<char>}' and 'int') if(f[x][y] == c[x][y]) ^ Non zero exit status: 1

Ceva nu functioneaza?