Borderou de evaluare (job #1737360)

Utilizator mariakKapros Maria mariak Data 3 august 2016 20:43:52
Problema Coduri Huffman Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:21:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d", &node[i].v); ^ user.cpp: In function ‘void write()’: user.cpp:71:38: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] printf("%d %d\n", lg[i], b[i]); ^ user.cpp: In function ‘void read()’: user.cpp:18:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:21:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &node[i].v); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms460kbOK!5
20ms460kbOK!5
30ms460kbOK!5
40ms456kbOK!5
54ms716kbOK!5
64ms712kbOK!5
712ms1480kbOK!5
812ms1480kbOK!5
944ms3504kbOK!5
1044ms3508kbOK!5
1172ms5540kbOK!5
1272ms5544kbOK!5
13144ms10620kbOK!5
14352ms25848kbOK!5
15256ms33328kbKilled by signal 11(SIGSEGV).0
16288ms33328kbKilled by signal 11(SIGSEGV).0
17304ms35964kbKilled by signal 11(SIGSEGV).0
18276ms35940kbKilled by signal 11(SIGSEGV).0
19356ms41748kbKilled by signal 11(SIGSEGV).0
20340ms41752kbKilled by signal 11(SIGSEGV).0
Punctaj total70

Ceva nu functioneaza?