Borderou de evaluare (job #2658655)

Utilizator evelina.nitoiuNitoiu Evelina evelina.nitoiu Data 14 octombrie 2020 17:38:27
Problema Coduri Huffman Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 30

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:41:25: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=] scanf("%d",&v[i]); ^ main.cpp:61:20: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=] printf("%d\n",s); ^ main.cpp:37:36: 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); ^ main.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.out","w",stdout); ^ main.cpp:39:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ main.cpp:41:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK!5
22ms131kbOK!5
33ms131kbOK!5
42ms131kbOK!5
510ms393kbOK!5
610ms393kbOK!5
734ms1310kbLungime incorecta!0
833ms1228kbLungime incorecta!0
992ms3272kbLungime incorecta!0
10100ms3272kbLungime incorecta!0
11159ms5234kbLungime incorecta!0
12164ms5234kbLungime incorecta!0
13314ms10211kbLungime incorecta!0
14797ms25280kbLungime incorecta!0
151000ms20951kbTime limit exceeded0
161003ms20819kbTime limit exceeded0
171002ms23572kbTime limit exceeded0
181002ms23572kbTime limit exceeded0
191000ms23048kbTime limit exceeded0
201003ms22786kbTime limit exceeded0
Punctaj total30

Ceva nu functioneaza?