Borderou de evaluare (job #1847037)
Utilizator | Data | 14 ianuarie 2017 11:34:42 | |
---|---|---|---|
Problema | Componente biconexe | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void dfs(int)’:
user.cpp:12:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[nod].size();i++)
^
user.cpp:69:17: error: ‘marc’ was not declared in this scope
marc[nod]=1;
^
user.cpp: In function ‘int main()’:
user.cpp:89:9: error: ‘vc’ was not declared in this scope
vc[++cc]=i;
^
user.cpp:93:13: error: ‘marc’ was not declared in this scope
marc[i]=1;
^
user.cpp:95:13: error: ‘marc’ was not declared in this scope
marc[i]=0;
^
user.cpp:100:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<vcc[i].size();j++)
^
user.cpp:75:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("biconex.in","r",stdin);
^
user.cpp:76:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("biconex.out","w",stdout);
^
user.cpp:77:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:80:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !