Borderou de evaluare (job #1885908)

Utilizator andreimdvMoldovan Andrei andreimdv Data 20 februarie 2017 15:30:08
Problema Algoritmul lui Dijkstra Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:1:10: error: #include expects "FILENAME" or <FILENAME> #include fstream ^ user.cpp:2:2: error: invalid preprocessing directive #includevector #includevector ^ user.cpp:3:2: error: invalid preprocessing directive #includequeue #includequeue ^ user.cpp:6:1: error: ‘ifstream’ does not name a type ifstream fin(dijkstra.in); ^ user.cpp:7:1: error: ‘ofstream’ does not name a type ofstream fout(dijkstra.out); ^ user.cpp:11:1: error: ‘pairint’ does not name a type pairint,int x; ^ user.cpp:12:1: error: ‘vectorpairint’ does not name a type vectorpairint,int v[50010]; ^ user.cpp:13:1: error: ‘queueint’ does not name a type queueint q; ^ user.cpp: In function ‘int main()’: user.cpp:18:5: error: ‘finnm’ was not declared in this scope finnm; ^ user.cpp:19:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for(i=1;i=m;++i) ^ user.cpp:21:9: error: ‘finabc’ was not declared in this scope finabc; ^ user.cpp:22:9: error: ‘v’ was not declared in this scope v[a].push_back(make_pair(b,c)); ^ user.cpp:22:37: error: ‘make_pair’ was not declared in this scope v[a].push_back(make_pair(b,c)); ^ user.cpp:25:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for(i=2;i=n;++i) ^ user.cpp:27:5: error: ‘q’ was not declared in this scope q.push(1); ^ user.cpp:32:17: error: ‘iv’ was not declared in this scope for(i=0;iv[aux].size();++i) ^ user.cpp:34:13: error: ‘x’ was not declared in this scope

Ceva nu functioneaza?