Borderou de evaluare (job #1239857)

Utilizator alex_bucevschiBucevschi Alexandru alex_bucevschi Data 9 octombrie 2014 21:38:15
Problema Coduri Huffman Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In constructor ‘huffman::huffman()’: user.cpp:13:12: warning: overflow in implicit constant conversion [-Woverflow] val=1000000000000000010; ^ user.cpp: In function ‘int main()’: user.cpp:46:20: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%lld",&n); ^ user.cpp:49:24: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%lld",&q); ^ user.cpp:88:24: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%lld\n",sol); ^ user.cpp:92:50: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%lld %lld\n",it->first,it->second); ^ user.cpp:92:50: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long int’ [-Wformat=] user.cpp:44: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); ^ user.cpp:45: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:46:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld",&n); ^ user.cpp:49:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld",&q); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms284kbLungime incorecta!0
20ms284kbLungime incorecta!0
30ms280kbLungime incorecta!0
40ms288kbLungime incorecta!0
54ms680kbLungime incorecta!0
64ms680kbLungime incorecta!0
712ms1844kbLungime incorecta!0
812ms1844kbLungime incorecta!0
940ms4968kbLungime incorecta!0
1040ms4976kbLungime incorecta!0
1164ms8092kbLungime incorecta!0
1268ms8092kbLungime incorecta!0
13132ms15912kbLungime incorecta!0
14324ms39348kbLungime incorecta!0
15532ms62780kbLungime incorecta!0
16540ms62784kbLungime incorecta!0
17588msDepăşitMemory limit exceeded.0
18580msDepăşitMemory limit exceeded.0
19600msDepăşitMemory limit exceeded.0
20616msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?