Borderou de evaluare (job #1714035)
Utilizator | Data | 7 iunie 2016 10:55:31 | |
---|---|---|---|
Problema | Alpin | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void dfs(int)’:
user.cpp:9:11: error: ‘lista’ was not declared in this scope
int a=lista[nod].size();
^
user.cpp:11:30: error: expected ‘]’ before ‘)’ token
if (viz[lista[nod][i])
^
user.cpp: In function ‘int main()’:
user.cpp:32:9: error: ‘nodC’ was not declared in this scope
nodC=(i-1)*n+j-1;
^
user.cpp:33:9: error: ‘nodN’ was not declared in this scope
nodN=(i-2)*n+j-1;
^
user.cpp:34:9: error: ‘nodS’ was not declared in this scope
nodS=i*n+j-1;
^
user.cpp:35:9: error: ‘nodE’ was not declared in this scope
nodE=(i-1)*n+j;
^
user.cpp:36:9: error: ‘nodV’ was not declared in this scope
nodV=(i-1)*n+j-2;
^
user.cpp:21:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("alpin.in","r",stdin);
^
user.cpp:22:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("alpin.out","w",stdout);
^
user.cpp:24:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d",&n);
^
user.cpp:28:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d",&a[i][j]);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !