Borderou de evaluare (job #2695914)
Utilizator | Data | 14 ianuarie 2021 20:38:21 | |
---|---|---|---|
Problema | Catun | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:6:1: error: 'ifstream' does not name a type
ifstream f("catun.in.txt");
^~~~~~~~
main.cpp:7:1: error: 'ofstream' does not name a type
ofstream o("catun.out.txt");
^~~~~~~~
main.cpp:9:1: error: 'vector' does not name a type
vector< pair<int, int> > v[40005];
^~~~~~
main.cpp: In function 'void Djikstra()':
main.cpp:20:23: error: 'v' was not declared in this scope
for (auto it :v[nod])
^
main.cpp: In function 'int main()':
main.cpp:40:5: error: 'f' was not declared in this scope
f >> n >> m >> k;
^
main.cpp:53:9: error: 'v' was not declared in this scope
v[x].push_back({ y,c });
^
main.cpp:59:13: error: 'o' was not declared in this scope
o << "0 ";
^
main.cpp:60:14: error: 'o' was not declared in this scope
else o << sol[i] << " ";
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !