Borderou de evaluare (job #1470493)

Utilizator StarGold2Emanuel Nrx StarGold2 Data 11 august 2015 15:51:06
Problema Spider Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:113:5: error: ‘posi’ was not declared in this scope posi = i; ^ user.cpp:114:5: error: ‘posj’ was not declared in this scope posj = j; ^ user.cpp:119:7: error: ‘posi’ was not declared in this scope DFS2(posi, posj); ^ user.cpp:119:13: error: ‘posj’ was not declared in this scope DFS2(posi, posj); ^ user.cpp:96:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("spider.in" ,"r", stdin ); ^ user.cpp:97:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("spider.out","w", stdout); ^ user.cpp:99:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &N, &M); ^ user.cpp:103:25: 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?