Borderou de evaluare (job #1817288)

Utilizator andreiudilaUdila Andrei andreiudila Data 27 noiembrie 2016 16:21:00
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:38:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d", &n); ^ user.cpp:42:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d", &f[i]); ^ user.cpp:106:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d\n", suma); ^ user.cpp:110:46: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] printf("%d %d\n", soll[i],solv[i]); ^ user.cpp:35: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:36: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:38:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:42:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &f[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms460kbOK!5
20ms456kbOK!5
30ms452kbOK!5
40ms464kbOK!5
54ms824kbOK!5
64ms832kbOK!5
716ms1944kbLungime incorecta!0
816ms1944kbLungime incorecta!0
960ms4916kbLungime incorecta!0
1052ms4916kbLungime incorecta!0
1192ms7888kbLungime incorecta!0
1292ms7884kbLungime incorecta!0
13184ms15304kbLungime incorecta!0
14464ms37572kbLungime incorecta!0
15752ms59844kbLungime incorecta!0
16736ms59844kbLungime incorecta!0
17520msDepăşitMemory limit exceeded.0
18492msDepăşitMemory limit exceeded.0
19540msDepăşitMemory limit exceeded.0
20536msDepăşitMemory limit exceeded.0
Punctaj total30

Ceva nu functioneaza?