Borderou de evaluare (job #1122830)
Utilizator | Data | 25 februarie 2014 20:44:26 | |
---|---|---|---|
Problema | Algoritmul lui Dijkstra | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:8:23: error: size of array ‘P’ is too large
int N,M,P[50003][50003];
^
user.cpp: In function ‘int main()’:
user.cpp:20:9: error: ‘P’ was not declared in this scope
P[x][y]=aux;
^
user.cpp:24:33: error: ‘P’ was not declared in this scope
for(int i=2;i<=N;i++) cout<<P[1][i]<<" ";
^
user.cpp: In function ‘void roy_floyd(int)’:
user.cpp:33:25: error: ‘P’ was not declared in this scope
else if(P[i][k]&&P[k][j]){
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !