Borderou de evaluare (job #1441108)
Utilizator | Data | 23 mai 2015 17:41:34 | |
---|---|---|---|
Problema | Algoritmul lui Dijkstra | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:3:1: error: ‘ifstream’ does not name a type
ifstream f("dijkstra.txt");
^
user.cpp:4:1: error: ‘ofstream’ does not name a type
ofstream g("dijkstra.txt")
^
user.cpp: In function ‘int main()’:
user.cpp:9:5: error: ‘f’ was not declared in this scope
f>>n>>m;
^
user.cpp:12:13: error: ‘a’ was not declared in this scope
a[i][j]=10000;
^
user.cpp:16:9: error: ‘a’ was not declared in this scope
a[x][y]=z;
^
user.cpp:20:16: error: ‘a’ was not declared in this scope
if(a[1][k]+a[k][j]<a[1][j]&&i!=k&&j!=k)
^
user.cpp:23:9: error: ‘g’ was not declared in this scope
g<<a[1][i]<<" ";
^
user.cpp:23:12: error: ‘a’ was not declared in this scope
g<<a[1][i]<<" ";
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !