Borderou de evaluare (job #1847419)
Utilizator | Data | 14 ianuarie 2017 16:55:37 | |
---|---|---|---|
Problema | Graf | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void bfs1()’:
user.cpp:48:17: warning: unused variable ‘fbx’ [-Wunused-variable]
int fbx = vecini[x][i];
^
user.cpp: In function ‘void bfs2()’:
user.cpp:73:17: warning: unused variable ‘fbx’ [-Wunused-variable]
int fbx = vecini[x][i];
^
user.cpp: In function ‘void solve()’:
user.cpp:92:17: error: ‘viz’ was not declared in this scope
else if(viz[i] != inf && viz2[i] != inf)
^
user.cpp: In function ‘void citire()’:
user.cpp:18:50: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d", &n, &m, &start, &finish);
^
user.cpp:24:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &tmp1, &tmp2);
^
user.cpp: In function ‘int main()’:
user.cpp:149:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("graf.in", "r", stdin);
^
user.cpp:150:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("graf.out", "w", stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !