Pagini recente » Borderou de evaluare (job #537675) | Borderou de evaluare (job #1159359) | Borderou de evaluare (job #181314) | Borderou de evaluare (job #185950) | Borderou de evaluare (job #2452453)
Borderou de evaluare (job #2452453)
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 | 3ms | 131kb | OK | 10 | 20 |
2 | 5ms | 262kb | OK | 10 |
3 | 700ms | 1048kb | Time limit exceeded | 0 | 0 |
4 | 700ms | 1310kb | Time limit exceeded | 0 |
5 | 700ms | 1572kb | Time limit exceeded | 0 | 0 |
6 | 700ms | 1572kb | Time limit exceeded | 0 |
7 | 703ms | 1339kb | Time limit exceeded | 0 |
8 | 701ms | 6553kb | Time limit exceeded | 0 | 0 |
9 | 703ms | 393kb | Time limit exceeded | 0 |
10 | 702ms | 1531kb | Time limit exceeded | 0 |
Punctaj total | 20 |