Borderou de evaluare (job #969042)
Utilizator | Data | 3 iulie 2013 13:09:21 | |
---|---|---|---|
Problema | Ciclu hamiltonian de cost minim | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:10:25: error: size of array ‘d’ is too large
int d[(1000000)][1000000],a[1000000][1000000];
^
user.cpp:10:45: error: size of array ‘a’ is too large
int d[(1000000)][1000000],a[1000000][1000000];
^
user.cpp: In function ‘int main()’:
user.cpp:19:9: error: ‘a’ was not declared in this scope
a[x+1][y+1]=c;
^
user.cpp:23:25: error: ‘a’ was not declared in this scope
if(i!=j && !a[i][j])
^
user.cpp:28:13: error: ‘d’ was not declared in this scope
d[i][j]=INF;
^
user.cpp:30:5: error: ‘d’ was not declared in this scope
d[1][1]=0;
^
user.cpp:36:55: error: ‘a’ was not declared in this scope
if(d[i][j]>d[i-(1<<(j-1))][l]+a[l][j])
^
user.cpp:43:27: error: ‘a’ was not declared in this scope
if(d[(1<<n)-1][i]+a[i][1]<sol)
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !