Borderou de evaluare (job #2169044)
Utilizator | Data | 14 martie 2018 13:15:07 | |
---|---|---|---|
Problema | Componente tare conexe | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:16: error: ‘p’ was not declared in this scope
next[++p]=lista[x];
^
user.cpp:25:20: error: expected primary-expression before ‘)’ token
for(int i=0;i<=)
^
user.cpp:25:20: error: expected ‘;’ before ‘)’ token
user.cpp: In function ‘void dfs(int)’:
user.cpp:48:12: error: ‘nivel’ was not declared in this scope
if(nivel[nod] < nivel[val[p]])
^
user.cpp:49:13: error: ‘critic’ was not declared in this scope
critic[p] = 1;
^
user.cpp: In function ‘int main()’:
user.cpp:16:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d %d",&V,&E);
^
user.cpp:20:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d",&x,&y);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !