Borderou de evaluare (job #2697195)

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

Raport evaluator

Eroare de compilare: main.cpp:1:2: error: invalid preprocessing directive #qlude #qlude <bits/stdc++.h> ^~~~~ main.cpp:3:7: error: expected nested-name-specifier before 'namesace' using namesace std; ^~~~~~~~ main.cpp:5:1: error: 'vector' does not name a type vector<int> a[1002]; ^~~~~~ main.cpp: In function 'int bfs()': main.cpp:21:27: error: 'memset' was not declared in this scope memset(t, 0, sizeof(t)); ^ main.cpp:27:24: error: 'a' was not declared in this scope for(i = 0; i < a[x].size(); ++i) ^ main.cpp: In function 'void cale(int, int)': main.cpp:45:39: error: 'memset' was not declared in this scope memset(vizitat, 0, sizeof(vizitat)); ^ main.cpp:53:24: error: 'a' was not declared in this scope for(i = 0; i < a[x].size(); ++i) ^ main.cpp:56:64: error: 'abs' was not declared in this scope if(!vizitat[y] && sgn * f[x][y] >= 0 && abs(f[x][y]) < c[x][y]) ^ main.cpp: In function 'int main()': main.cpp:66:1: error: 'ifstream' was not declared in this scope ifstream f("critice.in"); ^~~~~~~~ main.cpp:67:1: error: 'ofstream' was not declared in this scope ofstream g("critice.out"); ^~~~~~~~ main.cpp:70:6: error: invalid operands of types 'int [1002][1002]' and 'int' to binary 'operator>>' f>>N>>M; ~^~~ main.cpp:73:9: error: invalid operands of types 'int [1002][1002]' and 'int' to binary 'operator>>' f>>x>>y>>z; ~^~~ main.cpp:76:9: error: 'a' was not declared in this scope a[x].push_back(y); ^ main.cpp:81:24: error: 'a' was not declared in this scope for(i = 0; i < a[N].size(); ++i) ^ main.cpp:87:79: error: 'min' was not declared in this scope for(j = x; j > 1; j = t[j]) r = min(r, c[ t[j] ][j] - f[ t[j] ][j]); ^ main.cpp:105:32: error: 'swa' was not declared in this scope if(f[x][y] < 0) swa(x,y); Non zero exit status: 1

Ceva nu functioneaza?