Borderou de evaluare (job #2022797)
Utilizator | Data | 17 septembrie 2017 12:25:49 | |
---|---|---|---|
Problema | Matrice 2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘bool bfs(int, int)’:
user.cpp:38:27: error: ‘memset’ was not declared in this scope
memset(viz, 0, sizeof viz);
^
user.cpp: In function ‘int main()’:
user.cpp:70:6: warning: unused variable ‘pasi’ [-Wunused-variable]
int pasi = 0;
^
user.cpp:59:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d", &N, &Q);
^
user.cpp:62:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &a[i][j]);
^
user.cpp:65:58: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d%d%d", &x1[i], &Y1[i], &x2[i], &y2[i]);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !