Borderou de evaluare (job #1898410)

Utilizator mihaiovMihai Iovescu mihaiov Data 2 martie 2017 00:03:43
Problema ADN Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:26:9: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] lineSize[index1] = strlen(lines[index1]); ^ In file included from user.c:2:0: /usr/include/string.h:399:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (__const char *__s) ^ user.c: In function ‘calculateOverlaps’: user.c:57:13: warning: implicit declaration of function ‘matchOverlap’ [-Wimplicit-function-declaration] overlaps[i][j] = matchOverlap(lines[i], lines[j]); ^ user.c: In function ‘matchOverlap’: user.c:71:9: warning: unused variable ‘counter’ [-Wunused-variable] int counter = 0; ^ user.c: In function ‘main’: user.c:21:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%hu", &numberOfLines); ^ user.c:25:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%s", lines[index1]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms284kbWrong asnwer0
20ms280kbWrong asnwer0
30ms288kbWrong asnwer0
40ms296kbWrong asnwer0
50ms304kbWrong asnwer0
624ms348kbWrong asnwer0
7204ms520kbWrong asnwer0
868ms536kbWrong asnwer0
9Depăşit624kbTime limit exceeded.0
10432ms640kbWrong asnwer0
Punctaj total0

Ceva nu functioneaza?