Borderou de evaluare (job #1999396)

Utilizator flaviu_2001Craciun Ioan-Flaviu flaviu_2001 Data 11 iulie 2017 00:59:31
Problema Coduri Huffman Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:34:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d", &nod[i].x); ^ user.cpp:59:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d\n", sol); ^ user.cpp:62:39: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] printf("%d %d\n", lg[i], cd[i]); ^ user.cpp:28:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("huffman.in", "r", stdin); ^ user.cpp:29:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("huffman.out", "w", stdout); ^ user.cpp:31:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:34:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &nod[i].x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms280kbOK!5
20ms284kbOK!5
30ms288kbOK!5
40ms284kbOK!5
54ms540kbOK!5
64ms532kbOK!5
712ms1304kbLungime incorecta!0
812ms1304kbLungime incorecta!0
944ms3332kbLungime incorecta!0
1044ms3328kbLungime incorecta!0
1172ms5364kbLungime incorecta!0
1276ms5360kbLungime incorecta!0
13148ms10448kbLungime incorecta!0
14360ms25676kbLungime incorecta!0
15592ms40916kbLungime incorecta!0
16584ms40912kbLungime incorecta!0
17648ms45988kbLungime incorecta!0
18660ms45984kbLungime incorecta!0
19740ms51048kbLungime incorecta!0
20736ms51048kbLungime incorecta!0
Punctaj total30

Ceva nu functioneaza?