Pagini recente » Borderou de evaluare (job #1900289) | Borderou de evaluare (job #1400686) | Borderou de evaluare (job #2825414) | Borderou de evaluare (job #177807) | Borderou de evaluare (job #2452452)
Borderou de evaluare (job #2452452)
Raport evaluator
Compilare:
main.c: In function 'balbaie':
main.c:9:31: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]
for (unsigned int i = 0; i < strlen(B); i++)
^~~~~~
main.c:9:31: warning: incompatible implicit declaration of built-in function 'strlen'
main.c:9:31: note: include '<string.h>' or provide a declaration of 'strlen'
main.c: In function 'sub_sir':
main.c:22:6: warning: incompatible implicit declaration of built-in function 'strlen'
if (strlen(B) > strlen(A))
^~~~~~
main.c:22:6: note: include '<string.h>' or provide a declaration of 'strlen'
main.c:25:8: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration]
aux = malloc(strlen(A)*sizeof(char) + 1);
^~~~~~
main.c:25:8: warning: incompatible implicit declaration of built-in function 'malloc'
main.c:25:8: note: include '<stdlib.h>' or provide a declaration of 'malloc'
main.c:25:15: warning: incompatible implicit declaration of built-in function 'strlen'
aux = malloc(strlen(A)*sizeof(char) + 1);
^~~~~~
main.c:25:15: note: include '<string.h>' or provide a declaration of 'strlen'
main.c:27:2: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration]
strcpy(aux, A);
^~~~~~
main.c:27:2: warning: incompatible implicit declaration of built-in function 'strcpy'
main.c:27:2: note: include '<string.h>' or provide a declaration of 'strcpy'
main.c: In function 'main':
main.c:53:6: warning: incompatible implicit declaration of built-in function 'malloc'
A = malloc(sizeof(char) * lungime_sir + 1);
^~~~~~
main.c:53:6: note: include '<stdlib.h>' or provide a declaration of 'malloc'
main.c:49:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &lungime_sir);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:51:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &nr_subsiruri);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:57:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%s", A);
^~~~~~~~~~~~~~~~~~~
main.c:63:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%s", B);
^~~~~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 3ms | 131kb | OK | 10 | 20 |
2 | 5ms | 131kb | OK | 10 |
3 | 702ms | 1048kb | Time limit exceeded | 0 | 0 |
4 | 702ms | 1048kb | Time limit exceeded | 0 |
5 | 700ms | 1441kb | Time limit exceeded | 0 | 0 |
6 | 701ms | 1703kb | Time limit exceeded | 0 |
7 | 701ms | 1441kb | Time limit exceeded | 0 |
8 | 702ms | 6160kb | Time limit exceeded | 0 | 0 |
9 | 701ms | 393kb | Time limit exceeded | 0 |
10 | 700ms | 1441kb | Time limit exceeded | 0 |
Punctaj total | 20 |