Borderou de evaluare (job #2698947)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:69: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:70: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:72:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:80:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&huff[i].freq);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK! | 5 |
2 | 2ms | 131kb | OK! | 5 |
3 | 2ms | 131kb | OK! | 5 |
4 | 2ms | 131kb | OK! | 5 |
5 | 7ms | 393kb | OK! | 5 |
6 | 7ms | 393kb | OK! | 5 |
7 | 22ms | 1310kb | OK! | 5 |
8 | 22ms | 1310kb | OK! | 5 |
9 | 62ms | 3801kb | OK! | 5 |
10 | 63ms | 3801kb | OK! | 5 |
11 | 103ms | 6291kb | OK! | 5 |
12 | 102ms | 6291kb | OK! | 5 |
13 | 185ms | 12451kb | OK! | 5 |
14 | 484ms | 31154kb | OK! | 5 |
15 | 655ms | 49807kb | OK! | 5 |
16 | 667ms | 49795kb | OK! | 5 |
17 | 754ms | 56098kb | OK! | 5 |
18 | 756ms | 56098kb | OK! | 5 |
19 | 979ms | 62377kb | OK! | 5 |
20 | 818ms | 62390kb | OK! | 5 |
Punctaj total | 100 |