Borderou de evaluare (job #1872536)

Utilizator Coroian_DavidCoroian David Coroian_David Data 8 februarie 2017 13:07:48
Problema Ghizi Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int bfs()’: user.cpp:82:9: warning: unused variable ‘n’ [-Wunused-variable] int n = 101; ^ user.cpp: In function ‘void solve()’: user.cpp:123:9: warning: unused variable ‘i’ [-Wunused-variable] int i, j; ^ user.cpp:123:12: warning: unused variable ‘j’ [-Wunused-variable] int i, j; ^ user.cpp: In function ‘void printFile()’: user.cpp:171:36: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses] if(muchie[p].a == i & muchie[p].b == j) ^ user.cpp: In function ‘void readFile()’: user.cpp:49:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi, "%d%d", &n, &k); ^ user.cpp:55:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi, "%d%d", &a, &b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms500kbWrong answer!0
20ms372kbOK10
34ms504kbWrong answer!0
40ms412kbWrong answer!0
50ms456kbWrong answer!0
60ms424kbWrong answer!0
70ms428kbWrong answer!0
84ms500kbWrong answer!0
90ms372kbWrong answer!0
100ms348kbWrong answer!0
Punctaj total10

Ceva nu functioneaza?