Borderou de evaluare (job #1638030)
Utilizator | Grama Matei daGrama | Data | 7 martie 2016 20:41:31 |
---|---|---|---|
Problema | Componente tare conexe | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:12:1: error: expected initializer before ‘int’
int lst1[N],lst2[N], vf1[N],vf2[N],urm1[N],urm2[N],nr,n,m;
^
user.cpp: In function ‘void adauga(int, int)’:
user.cpp:18:5: error: ‘nr’ was not declared in this scope
nr++;
^
user.cpp:19:5: error: ‘vf1’ was not declared in this scope
vf1[nr]=y;
^
user.cpp:20:5: error: ‘urm1’ was not declared in this scope
urm1[nr]=lst1[x];
^
user.cpp:20:14: error: ‘lst1’ was not declared in this scope
urm1[nr]=lst1[x];
^
user.cpp: In function ‘void adauga2(int, int)’:
user.cpp:24:5: error: ‘nr’ was not declared in this scope
nr++;
^
user.cpp:25:5: error: ‘vf2’ was not declared in this scope
vf2[nr]=y;
^
user.cpp:26:5: error: ‘urm2’ was not declared in this scope
urm2[nr]=lst2[x];
^
user.cpp:26:14: error: ‘lst2’ was not declared in this scope
urm2[nr]=lst2[x];
^
user.cpp: In function ‘void dfs1(int)’:
user.cpp:33:7: error: ‘lst1’ was not declared in this scope
p=lst1[x];
^
user.cpp:35:11: error: ‘vf1’ was not declared in this scope
y=vf1[p];
^
user.cpp:38:11: error: ‘urm1’ was not declared in this scope
p=urm1[p];
^
user.cpp: In function ‘int dfs2(int)’:
user.cpp:46:7: error: ‘lst2’ was not declared in this scope
p=lst2[x];
^
user.cpp:48:11: error: ‘vf2’ was not declared in this scope
y=vf2[p];
^
user.cpp:51:11: error: ‘urm2’ was not declared in this scope
p=urm2[p];
^
user.cpp:53:1: warning: no return statement in function returning non-void [-Wreturn-type]
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !