Borderou de evaluare (job #1384660)

Utilizator retrogradLucian Bicsi retrograd Data 11 martie 2015 12:01:50
Problema Coduri Huffman Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:62:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘var* {aka long long int*}’ [-Wformat=] scanf("%d", &n); ^ user.cpp:65:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘var* {aka long long int*}’ [-Wformat=] scanf("%d", &V[i]); ^ user.cpp:94:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘var {aka long long int}’ [-Wformat=] printf("%d\n", sum); ^ user.cpp:98:39: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘var {aka long long int}’ [-Wformat=] printf("%d %d\n", D[i], BIT[i]); ^ user.cpp:60:12: warning: unused variable ‘v’ [-Wunused-variable] var n, v; ^ user.cpp:57: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:58: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); ^ user.cpp:62:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:65:27: 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
1Depăşit1524kbTime limit exceeded.0
2Depăşit1516kbTime limit exceeded.0
3Depăşit1488kbTime limit exceeded.0
4Depăşit1472kbTime limit exceeded.0
5Depăşit1636kbTime limit exceeded.0
6Depăşit1604kbTime limit exceeded.0
7Depăşit1920kbTime limit exceeded.0
8Depăşit1916kbTime limit exceeded.0
9Depăşit2680kbTime limit exceeded.0
10Depăşit2684kbTime limit exceeded.0
11Depăşit3436kbTime limit exceeded.0
12Depăşit3460kbTime limit exceeded.0
13Depăşit5364kbTime limit exceeded.0
14Depăşit11204kbTime limit exceeded.0
15Depăşit17052kbTime limit exceeded.0
16Depăşit17048kbTime limit exceeded.0
17Depăşit19024kbTime limit exceeded.0
18Depăşit19032kbTime limit exceeded.0
19Depăşit20948kbTime limit exceeded.0
20Depăşit20956kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?