Borderou de evaluare (job #1866076)

Utilizator FlorinHajaFlorin Gabriel Haja FlorinHaja Data 2 februarie 2017 16:54:22
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:53:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(f,"%d\n",&arb[i].v); ^ user.cpp:57:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(g,"%d\n",sol); ^ user.cpp:59:40: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long long int’ [-Wformat=] fprintf(g,"%d %d\n",lg[i],cd[i]); ^ user.cpp:51:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d\n",&n); ^ user.cpp:53:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d\n",&arb[i].v); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms272kbOK!5
20ms268kbOK!5
30ms272kbOK!5
40ms268kbOK!5
54ms712kbOK!5
64ms712kbOK!5
728ms1680kbLungime incorecta!0
832ms1684kbLungime incorecta!0
992ms4544kbLungime incorecta!0
1092ms4540kbLungime incorecta!0
11160ms7180kbLungime incorecta!0
12164ms7180kbLungime incorecta!0
13332ms14256kbLungime incorecta!0
14884ms35292kbLungime incorecta!0
15Depăşit44600kbTime limit exceeded.0
16Depăşit45192kbTime limit exceeded.0
17Depăşit47104kbTime limit exceeded.0
18Depăşit47400kbTime limit exceeded.0
19Depăşit50296kbTime limit exceeded.0
20Depăşit50200kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?