Borderou de evaluare (job #2109381)
Utilizator | Data | 19 ianuarie 2018 17:45:30 | |
---|---|---|---|
Problema | Parcurgere DFS - componente conexe | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:15:37: error: size of array ‘a’ is too large
void parcurgere(int a[200000][200000],int n,int nod)
^
user.cpp: In function ‘void parcurgere(int, int)’:
user.cpp:22:12: error: ‘a’ was not declared in this scope
if(a[nod][j]==1 && viz[j]==0)
^
user.cpp: In function ‘int main()’:
user.cpp:32:25: error: size of array ‘a’ is too large
int a[200000][200000],i,n,m;
^
user.cpp:39:9: error: ‘a’ was not declared in this scope
a[x][y]=a[y][x]=1;
^
user.cpp:46:24: error: ‘a’ was not declared in this scope
parcurgere(a,n,i);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !