Borderou de evaluare (job #2697205)
Utilizator | Data | 17 ianuarie 2021 19:47:30 | |
---|---|---|---|
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:71:11: error: expected ';' before ':' token
f>>N>>M:
^
main.cpp:72:18: warning: statement has no effect [-Wunused-value]
for(i = 1; i <= M; ++i)
~~^~~~
main.cpp:72:27: error: expected ';' before ')' token
for(i = 1; i <= M; ++i)
^
main.cpp:82:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < a[N].size(); ++i)
~~^~~~~~~~~~~~~
main.cpp:85: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:87: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:88: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:91:14: error: no match for 'operator[]' (operand types are 'std::ifstream {aka std::basic_ifstream<char>}' and 'int')
f[x][N] += r;
^
main.cpp:92:14: error: no match for 'operator[]' (operand types are 'std::ifstream {aka std::basic_ifstream<char>}' and 'int')
f[N][x] -= r;
^
main.cpp:95: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:96: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:106:13: error: no match for 'operator[]' (operand types are 'std::ifstream {aka std::basic_ifstream<char>}' and 'int')
if(f[x][y] < 0) swap(x,y);
^
main.cpp:107: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])
^
main.cpp:69:17: warning: unused variable 'z' [-Wunused-variable]
int i,j,x,y,z,r,cnt=0;
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !