Borderou de evaluare (job #1701545)

Utilizator armandpredaPreda Armand armandpreda Data 13 mai 2016 13:42:58
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:42:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d", &arb[i].val); ^ user.cpp:61:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d\n", tot); ^ user.cpp:38: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:39: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:40:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:42:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &arb[i].val); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms280kbOK!5
20ms284kbOK!5
30ms280kbOK!5
40ms280kbOK!5
54ms500kbOK!5
64ms496kbOK!5
716ms1140kbLungime incorecta!0
816ms1144kbLungime incorecta!0
948ms2860kbLungime incorecta!0
1052ms2860kbLungime incorecta!0
1188ms4576kbLungime incorecta!0
1284ms4580kbLungime incorecta!0
13172ms8872kbLungime incorecta!0
14424ms21764kbLungime incorecta!0
15692ms34660kbLungime incorecta!0
16680ms34660kbLungime incorecta!0
17776ms38956kbLungime incorecta!0
18752ms38956kbLungime incorecta!0
19840ms43244kbLungime incorecta!0
20856ms43244kbLungime incorecta!0
Punctaj total30

Ceva nu functioneaza?