Borderou de evaluare (job #2132763)

Utilizator inquisitorAnders inquisitor Data 16 februarie 2018 00:15:16
Problema Nivele2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘void BFS(int)’: user.cpp:23:69: warning: too many arguments for format [-Wformat-extra-args] printf("\nnivelul %d: " + (level == 1), ++level, current); ^ user.cpp:23:70: warning: operation on ‘level’ may be undefined [-Wsequence-point] printf("\nnivelul %d: " + (level == 1), ++level, current); ^ user.cpp: In function ‘int main()’: user.cpp:42:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("nivele2.in", "r", stdin); ^ user.cpp:43:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("nivele2.out", "w", stdout); ^ user.cpp:45:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &nodes); edges = nodes - 1; ^ user.cpp:49:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &u, &v); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms2512kbRaspuns corect!10
20ms2500kbRaspuns corect!10
34ms2520kbRaspuns corect!10
476ms4172kbAi afisat gresit nodurile de pe nivelul 2860
576ms4280kbAi afisat gresit nodurile de pe nivelul 3390
628ms3116kbAi afisat gresit nodurile de pe nivelul 5810
764ms3936kbAi afisat gresit nodurile de pe nivelul 1070
832ms3192kbAi afisat gresit nodurile de pe nivelul 980
932ms3208kbAi afisat gresit nodurile de pe nivelul 970
1068ms4068kbAi afisat gresit nodurile de pe nivelul 3920
Punctaj total30

Ceva nu functioneaza?