Borderou de evaluare (job #1239856)

Utilizator alex_bucevschiBucevschi Alexandru alex_bucevschi Data 9 octombrie 2014 21:36:36
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
20ms288kbLungime incorecta!0
30ms280kbLungime incorecta!0
40ms280kbLungime incorecta!0
54ms680kbLungime incorecta!0
64ms676kbLungime incorecta!0
712ms1848kbLungime incorecta!0
812ms1840kbLungime incorecta!0
940ms4972kbLungime incorecta!0
1040ms4972kbLungime incorecta!0
1164ms8100kbLungime incorecta!0
1268ms8092kbLungime incorecta!0
13136ms15916kbLungime incorecta!0
14340ms39348kbLungime incorecta!0
15528ms62788kbLungime incorecta!0
16524ms62784kbLungime incorecta!0
17584msDepăşitMemory limit exceeded.0
18584msDepăşitMemory limit exceeded.0
19608msDepăşitMemory limit exceeded.0
20600msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?