Borderou de evaluare (job #2343944)

Utilizator catalin9898Bajenaru Catalin catalin9898 Data 14 februarie 2019 16:11:24
Problema Coduri Huffman Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 65

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:33:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i = n; i < 2*n; i++) ^~~ main.cpp:36:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' while(s < f) ^~~~~ main.cpp:25:40: warning: unused variable 'p1' [-Wunused-variable] int i, s, f, sw = 0, fw = 0, ord, p1, p2, h; ^~ main.cpp:25:44: warning: unused variable 'p2' [-Wunused-variable] int i, s, f, sw = 0, fw = 0, ord, p1, p2, h; ^~ main.cpp:23: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); ^ main.cpp:24: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); ^ main.cpp:29:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ main.cpp:34:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%lld", &v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbLungime incorecta!0
22ms131kbOK!5
32ms131kbOK!5
42ms131kbOK!5
57ms393kbLungime incorecta!0
67ms393kbLungime incorecta!0
723ms1048kbLungime incorecta!0
824ms1048kbOK!5
966ms2883kbOK!5
1067ms2883kbOK!5
11109ms4587kbLungime incorecta!0
12104ms4718kbOK!5
13186ms9306kbOK!5
14480ms23199kbOK!5
15700ms36962kbOK!5
16718ms36962kbOK!5
17958ms41811kbOK!5
18812ms41418kbLungime incorecta!0
19883ms46399kbOK!5
201001ms45613kbTime limit exceeded0
Punctaj total65

Ceva nu functioneaza?