Borderou de evaluare (job #1828723)
Utilizator | Data | 13 decembrie 2016 20:02:46 | |
---|---|---|---|
Problema | Parcurgere DFS - componente conexe | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:6:35: error: size of array ‘a’ is too large
int n,c[100001],a[1000001][1000001],p,u,m,v[10000],nrc;
^
user.cpp: In function ‘void citire()’:
user.cpp:14:1: error: ‘a’ was not declared in this scope
a[i][j]=a[j][i]=1;}}
^
user.cpp: In function ‘void adancime(int)’:
user.cpp:25:19: error: ‘a’ was not declared in this scope
if(v[i]==0 && a[k][i]==1)
^
user.cpp: In function ‘void conex1()’:
user.cpp:31:7: warning: unused variable ‘j’ [-Wunused-variable]
int i,j;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !