Borderou de evaluare (job #2485349)
Utilizator | Data | 1 noiembrie 2019 13:24:06 | |
---|---|---|---|
Problema | TollRoads | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:1:1: error: 'nclude' does not name a type
nclude <bits/stdc++.h>
^~~~~~
main.cpp:7:1: error: 'vector' does not name a type
vector < int > D;
^~~~~~
main.cpp:8:1: error: 'vector' does not name a type
vector < pair < int, int > > G[NMax];
^~~~~~
main.cpp: In function 'int Dijkstra(int, int)':
main.cpp:11:5: error: 'vector' was not declared in this scope
vector < int > v[t + 1];
^~~~~~
main.cpp:11:14: error: expected primary-expression before 'int'
vector < int > v[t + 1];
^~~
main.cpp:12:10: error: 'D' was not declared in this scope
fill(D.begin(), D.end(), -1);
^
main.cpp:12:32: error: 'fill' was not declared in this scope
fill(D.begin(), D.end(), -1);
^
main.cpp:15:5: error: 'v' was not declared in this scope
v[0].push_back(node);
^
main.cpp:22:30: error: 'G' was not declared in this scope
for (auto next : G[now]) {
^
main.cpp:34:19: error: unable to deduce 'auto&&' from 'D'
for (auto x : D) {
^
main.cpp: In function 'int main()':
main.cpp:43:5: error: 'ios' has not been declared
ios::sync_with_stdio(false);
^~~
main.cpp:44:5: error: 'ifstream' was not declared in this scope
ifstream cin("trollroads.in");
^~~~~~~~
main.cpp:45:5: error: 'ofstream' was not declared in this scope
ofstream cout("trollroads.out");
^~~~~~~~
main.cpp:48:5: error: 'cin' was not declared in this scope
cin >> n >> m >> q;
^~~
main.cpp:55:9: error: 'G' was not declared in this scope
G[b].push_back({a, c});
^
main.cpp:59:5: error: 'D' was not declared in this scope
D.resize(n);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !