Borderou de evaluare (job #2491730)
Utilizator | Data | 13 noiembrie 2019 01:19:36 | |
---|---|---|---|
Problema | Algoritmul lui Dijkstra | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:13:5: error: 'bitset' does not name a type
bitset<MAXN+1> v;
^~~~~~
main.cpp: In function 'void dijkstra()':
main.cpp:33:15: error: 'struct Graph' has no member named 'v'
if (g.v.test(cur)) continue;
^
main.cpp:45:11: error: 'struct Graph' has no member named 'v'
g.v.set(cur);
^
main.cpp: In function 'int main()':
main.cpp:62:25: error: 'numeric_limits' was not declared in this scope
unsigned int maxx = numeric_limits<unsigned int> :: max();
^~~~~~~~~~~~~~
main.cpp:62:40: error: expected primary-expression before 'unsigned'
unsigned int maxx = numeric_limits<unsigned int> :: max();
^~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !