Borderou de evaluare (job #2155680)
Utilizator | Data | 7 martie 2018 23:46:43 | |
---|---|---|---|
Problema | Arbore partial de cost minim | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:10:21: error: size of array ‘a’ is too large
int a[200001][200001],n,m, pinf=1001;
^
user.cpp: In function ‘void read()’:
user.cpp:19:13: error: ‘a’ was not declared in this scope
a[i][j]=pinf;
^
user.cpp:22:9: error: ‘a’ was not declared in this scope
a[x][y]=a[y][x]=c;}
^
user.cpp: In function ‘void print()’:
user.cpp:31:19: error: ‘a’ was not declared in this scope
cout<<a[i][j]<<" ";
^
user.cpp: In function ‘int minim()’:
user.cpp:40:16: error: ‘a’ was not declared in this scope
if(a[i][s[i]]<minim)
^
user.cpp: In function ‘void update_s(int)’:
user.cpp:53:16: error: ‘a’ was not declared in this scope
if(a[i][s[i]]>a[i][nod])
^
user.cpp: In function ‘void build_tree(int)’:
user.cpp:68:15: error: ‘a’ was not declared in this scope
cost+=a[nod][s[nod]];
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !