Borderou de evaluare (job #1550427)
| Utilizator | Data | 13 decembrie 2015 18:13:15 | |
|---|---|---|---|
| Problema | Componente tare conexe | Status | done |
| Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
user.cpp:6:17: error: size of array ‘a’ is too large
int a[nmax][nmax],n,m,viz[nmax],L[nmax],k,comp[nmax];
^
user.cpp: In function ‘void citire()’:
user.cpp:15:9: error: ‘a’ was not declared in this scope
a[x][y]=1;
^
user.cpp: In function ‘void vizitare(int)’:
user.cpp:26:12: error: ‘a’ was not declared in this scope
if(a[u][i]) {
^
user.cpp: In function ‘void creazaComponenta(int, int)’:
user.cpp:42:12: error: ‘a’ was not declared in this scope
if(a[i][u])
^
user.cpp: In function ‘int main()’:
user.cpp:48:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("date.in","rt",stdin);
^
user.cpp:49:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("date.out","wt",stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
