Pagini recente » Borderou de evaluare (job #625006) | Borderou de evaluare (job #690209) | Borderou de evaluare (job #719089) | Borderou de evaluare (job #1895193) | Borderou de evaluare (job #2452454)
Borderou de evaluare (job #2452454)
Raport evaluator
Compilare:
main.c: In function 'sub_sir':
main.c:22:6: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]
if (strlen(B) > strlen(A))
^~~~~~
main.c:22:6: warning: incompatible implicit declaration of built-in function 'strlen'
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:56:6: warning: incompatible implicit declaration of built-in function 'malloc'
A = malloc(sizeof(char) * lungime_sir + 1);
^~~~~~
main.c:56:6: note: include '<stdlib.h>' or provide a declaration of 'malloc'
main.c:52:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &lungime_sir);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:54:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &nr_subsiruri);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:59:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%s", A);
^~~~~~~~~~~~~~~~~~~
main.c:65: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 | 2ms | 131kb | OK | 10 | 20 |
2 | 3ms | 262kb | OK | 10 |
3 | 703ms | 138805kb | Time limit exceeded | 0 | 0 |
4 | 700ms | 107479kb | Time limit exceeded | 0 |
5 | 703ms | 128319kb | Time limit exceeded | 0 | 0 |
6 | 700ms | 131727kb | Time limit exceeded | 0 |
7 | 703ms | 121241kb | Time limit exceeded | 0 |
8 | 700ms | 265400kb | Time limit exceeded | 0 | 0 |
9 | 703ms | 126091kb | Time limit exceeded | 0 |
10 | 700ms | 134873kb | Time limit exceeded | 0 |
Punctaj total | 20 |