Borderou de evaluare (job #1366034)
Utilizator | Data | 28 februarie 2015 18:13:44 | |
---|---|---|---|
Problema | Sate | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:6:19: error: size of array ‘a’ is too large
int a[30001][30001],d[30001],s[30001],p[30001],n,m,x,y;
^
user.cpp: In function ‘void citire()’:
user.cpp:15:5: error: ‘a’ was not declared in this scope
a[xx][yy]=a[yy][xx]=c;
^
user.cpp:19:14: error: ‘a’ was not declared in this scope
if(i!=j&&a[i][j]==0)
^
user.cpp: In function ‘void generare_drum(int)’:
user.cpp:26:10: error: ‘a’ was not declared in this scope
d[i]=a[x][i];
^
user.cpp:36:34: error: ‘a’ was not declared in this scope
if(s[j]==0&&d[j]>d[y]+a[y][j]) { d[j]=d[y]+a[y][j];
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !