Borderou de evaluare (job #1872547)

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

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:172:36: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses] if(muchie[p].a == i & muchie[p].b == j && muchie[p].uz == 0) ^ 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
14ms504kbWrong answer!0
20ms380kbOK10
34ms504kbWrong answer!0
40ms412kbWrong answer!0
50ms460kbWrong answer!0
60ms424kbWrong answer!0
70ms428kbWrong answer!0
84ms504kbOK10
90ms380kbOK10
100ms360kbOK10
Punctaj total40

Ceva nu functioneaza?