Borderou de evaluare (job #2077615)

Utilizator AlexGAlexandru Gheorghe AlexG Data 28 noiembrie 2017 12:34:34
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:69:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%I64d", &nod[i].v); ^ user.cpp:78:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%I64d\n", lg); ^ user.cpp:80:45: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] printf("%d %I64d\n", lCod[i], cod[i]); ^ user.cpp:61: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:62: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:63:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:69:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%I64d", &nod[i].v); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms300kbOK!5
20ms300kbOK!5
30ms296kbOK!5
40ms300kbOK!5
58ms548kbOK!5
68ms552kbOK!5
744ms1312kbLungime incorecta!0
844ms1316kbLungime incorecta!0
9132ms3348kbLungime incorecta!0
10132ms3348kbLungime incorecta!0
11220ms5384kbLungime incorecta!0
12224ms5376kbLungime incorecta!0
13448ms10464kbLungime incorecta!0
14Depăşit25696kbTime limit exceeded.0
15Depăşit40928kbTime limit exceeded.0
16Depăşit40928kbTime limit exceeded.0
17Depăşit46004kbTime limit exceeded.0
18Depăşit46004kbTime limit exceeded.0
19Depăşit43348kbTime limit exceeded.0
20Depăşit38412kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?