Borderou de evaluare (job #1759866)

Utilizator CodrutLemeniCodrut Lemeni CodrutLemeni Data 19 septembrie 2016 22:37:09
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:56:24: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%lld",&x); ^ user.cpp:112:39: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%lld %lld\n",l[i],v[i]); ^ user.cpp:49: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:50: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:53:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:56:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld",&x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms452kbLungime incorecta!0
20ms452kbLungime incorecta!0
30ms448kbLungime incorecta!0
40ms452kbLungime incorecta!0
50ms452kbLungime incorecta!0
60ms452kbLungime incorecta!0
70ms448kbLungime incorecta!0
80ms456kbLungime incorecta!0
90ms456kbLungime incorecta!0
100ms452kbLungime incorecta!0
110ms456kbLungime incorecta!0
120ms452kbLungime incorecta!0
130ms452kbLungime incorecta!0
140ms456kbLungime incorecta!0
150ms452kbLungime incorecta!0
160ms452kbLungime incorecta!0
170ms448kbLungime incorecta!0
180ms452kbLungime incorecta!0
190ms452kbLungime incorecta!0
200ms448kbLungime incorecta!0
Punctaj total0

Ceva nu functioneaza?