Pagini recente » Borderou de evaluare (job #1052458) | Borderou de evaluare (job #1718447) | Borderou de evaluare (job #2973805) | Borderou de evaluare (job #2679613) | Borderou de evaluare (job #2452458)
Borderou de evaluare (job #2452458)
Raport evaluator
Compilare:
main.c: In function 'sub_sir':
main.c:23:8: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration]
aux = malloc(strlen(A)*sizeof(char) + 1);
^~~~~~
main.c:23:8: warning: incompatible implicit declaration of built-in function 'malloc'
main.c:23:8: note: include '<stdlib.h>' or provide a declaration of 'malloc'
main.c:23:15: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]
aux = malloc(strlen(A)*sizeof(char) + 1);
^~~~~~
main.c:23:15: warning: incompatible implicit declaration of built-in function 'strlen'
main.c:23:15: note: include '<string.h>' or provide a declaration of 'strlen'
main.c:25:2: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration]
strcpy(aux, A);
^~~~~~
main.c:25:2: warning: incompatible implicit declaration of built-in function 'strcpy'
main.c:25:2: note: include '<string.h>' or provide a declaration of 'strcpy'
main.c: In function 'main':
main.c:54:6: warning: incompatible implicit declaration of built-in function 'malloc'
A = malloc(sizeof(char) * lungime_sir + 1);
^~~~~~
main.c:54:6: note: include '<stdlib.h>' or provide a declaration of 'malloc'
main.c:76:2: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration]
free(A);
^~~~
main.c:76:2: warning: incompatible implicit declaration of built-in function 'free'
main.c:76:2: note: include '<stdlib.h>' or provide a declaration of 'free'
main.c:50:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &lungime_sir);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:52: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 | 2ms | 131kb | OK | 10 | 20 |
2 | 3ms | 131kb | OK | 10 |
3 | 700ms | 137232kb | Time limit exceeded | 0 | 0 |
4 | 700ms | 132251kb | Time limit exceeded | 0 |
5 | 700ms | 138674kb | Time limit exceeded | 0 | 0 |
6 | 703ms | 114032kb | Time limit exceeded | 0 |
7 | 704ms | 114233kb | Time limit exceeded | 0 |
8 | 701ms | 237322kb | Time limit exceeded | 0 | 0 |
9 | 701ms | 105512kb | Time limit exceeded | 0 |
10 | 705ms | 152207kb | Time limit exceeded | 0 |
Punctaj total | 20 |