Borderou de evaluare (job #1061033)

Utilizator impulseBagu Alexandru impulse Data 19 decembrie 2013 03:40:50
Problema Coduri Huffman Status done
Runda Arhiva educationala Compilator c | Vezi sursa
Scor 65

Raport evaluator

Compilare: user.c: In function ‘rem’: user.c:78:5: warning: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration] node* n = malloc(sizeof(node)); ^ user.c:78:15: warning: incompatible implicit declaration of built-in function ‘malloc’ [enabled by default] node* n = malloc(sizeof(node)); ^ user.c: In function ‘paste’: user.c:88:17: warning: incompatible implicit declaration of built-in function ‘malloc’ [enabled by default] node* mix = malloc(sizeof(node)); ^ user.c: In function ‘print’: user.c:100:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong’ [-Wformat=] printf("%d", h->nodes[i].value); ^ user.c: In function ‘main’: user.c:143:32: warning: incompatible implicit declaration of built-in function ‘malloc’ [enabled by default] huffman *huff = (huffman*) malloc(MAX_N * sizeof(huffman)); ^ user.c:151:9: warning: format ‘%d’ expects argument of type ‘int *’, but argument 2 has type ‘ulong *’ [-Wformat=] scanf("%d", &heap->nodes[i].value); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
124ms19736kbOK!5
224ms19744kbOK!5
324ms19740kbOK!5
424ms19744kbOK!5
532ms20156kbOK!5
632ms20152kbOK!5
756ms21384kbOK!5
856ms21376kbOK!5
9128ms24668kbOK!5
10128ms24668kbOK!5
11204ms27940kbOK!5
12204ms27948kbOK!5
13404ms36148kbOK!5
14Depăşit60756kbTime limit exceeded.0
15Depăşit61816kbTime limit exceeded.0
16Depăşit61556kbTime limit exceeded.0
17Depăşit60500kbTime limit exceeded.0
18Depăşit60760kbTime limit exceeded.0
19Depăşit59708kbTime limit exceeded.0
20Depăşit59840kbTime limit exceeded.0
Punctaj total65

Ceva nu functioneaza?