Pagini recente » Borderou de evaluare (job #2963761) | Borderou de evaluare (job #1946209) | Borderou de evaluare (job #2517646) | Borderou de evaluare (job #2703335) | Borderou de evaluare (job #1863702)
Borderou de evaluare (job #1863702)
Raport evaluator
Compilare:
user.c: In function ‘Initialize’:
user.c:11:20: warning: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration]
head = (struct node*)malloc(sizeof(struct node));
^
user.c:11:26: warning: incompatible implicit declaration of built-in function ‘malloc’ [enabled by default]
head = (struct node*)malloc(sizeof(struct node));
^
user.c: In function ‘Insert’:
user.c:20:5: warning: implicit declaration of function ‘strlen’ [-Wimplicit-function-declaration]
char i, j, len = strlen(word), index;
^
user.c:20:22: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
char i, j, len = strlen(word), index;
^
user.c:22:5: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for(i=0; i<len; i++, ptr = ptr -> next[index]){
^
user.c:23:9: warning: implicit declaration of function ‘tolower’ [-Wimplicit-function-declaration]
index = tolower(word[i]) - 'a';
^
user.c:23:9: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.c:25:9: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(ptr -> next[index] == NULL){
^
user.c:26:13: warning: array subscript has type ‘char’ [-Wchar-subscripts]
ptr -> next[index] = (struct node*)malloc(sizeof(struct node));
^
user.c:26:48: warning: incompatible implicit declaration of built-in function ‘malloc’ [enabled by default]
ptr -> next[index] = (struct node*)malloc(sizeof(struct node));
^
user.c:27:13: warning: array subscript has type ‘char’ [-Wchar-subscripts]
(ptr -> next[index]) -> occurences = 0;
^
user.c:30:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
(ptr -> next[index]) -> next[j] = NULL;
^
user.c:30:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.c: In function ‘Search’:
user.c:37:19: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
char i, len = strlen(word), index;
^
user.c:39:5: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for(i=0; i<len; i++, ptr = ptr -> next[index]){
^
user.c:40:9: warning: array subscript has type ‘char’ [-Wchar-subscripts]
index = tolower(word[i]) - 'a';
^
user.c:41:9: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(ptr -> next[index] == NULL) return 0;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 260kb | Incorect | 0 | 0 |
2 | 0ms | 276kb | OK | 5 | 5 |
3 | 0ms | 276kb | Incorect | 0 | 0 |
4 | 0ms | 264kb | Incorect | 0 | 0 |
5 | 0ms | 268kb | OK | 5 | 5 |
6 | 0ms | 280kb | Incorect | 0 | 0 |
7 | 4ms | 296kb | OK | 5 | 5 |
8 | 4ms | 292kb | Incorect | 0 | 0 |
9 | 12ms | 420kb | Incorect | 0 | 0 |
10 | 16ms | 880kb | OK | 5 | 5 |
11 | 28ms | 324kb | OK | 5 | 5 |
12 | 40ms | 1536kb | Incorect | 0 | 0 |
13 | 48ms | 1304kb | Incorect | 0 | 0 |
14 | 52ms | 524kb | OK | 5 | 5 |
15 | 64ms | 500kb | Incorect | 0 | 0 |
16 | 112ms | 9448kb | Incorect | 0 |
17 | 92ms | 288kb | Incorect | 0 | 0 |
18 | 120ms | 6956kb | Incorect | 0 |
19 | 88ms | 292kb | OK | 5 | 0 |
20 | 120ms | 12600kb | Incorect | 0 |
Punctaj total | 30 |