Borderou de evaluare (job #2668643)

Utilizator jucatorulGrigore George Alexandru jucatorul Data 5 noiembrie 2020 06:42:19
Problema Sate Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:1:1: error: 'include' does not name a type include <bits/stdc++.h> ^~~~~~~ main.cpp:3:1: error: 'ifstream' does not name a type ifstream f("sate.in"); ^~~~~~~~ main.cpp:4:1: error: 'ofstream' does not name a type ofstream o("sate.out"); ^~~~~~~~ main.cpp:9:1: error: 'vector' does not name a type vector <pair <int, int> > v[30009]; ^~~~~~ main.cpp:10:1: error: 'queue' does not name a type queue <int> q; ^~~~~ main.cpp: In function 'void BFS(int)': main.cpp:13:2: error: 'q' was not declared in this scope q.push(k); ^ main.cpp:18:16: error: 'v' was not declared in this scope for(auto x : v[nod]){ ^ main.cpp: In function 'int main()': main.cpp:34:2: error: 'f' was not declared in this scope f >> n >> m >> x >> y; ^ main.cpp:37:3: error: 'v' was not declared in this scope v[i].push_back(make_pair(j, d)); ^ main.cpp:37:32: error: 'make_pair' was not declared in this scope v[i].push_back(make_pair(j, d)); ^ main.cpp:41:2: error: 'o' was not declared in this scope o << rez[y]; ^ Non zero exit status: 1

Ceva nu functioneaza?