Borderou de evaluare (job #1334110)

Utilizator IonMosnoiIon Mosnoi IonMosnoi Data 3 februarie 2015 21:46:05
Problema Coduri Huffman Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:23:14: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d",&n); ^ user.cpp:24:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] for(int i=1;i<=n;i++)scanf("%d",&a[i].v),q[i][0]=i; ^ user.cpp:21:32: 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:23:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:24:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(int i=1;i<=n;i++)scanf("%d",&a[i].v),q[i][0]=i; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms448kbOK!5
20ms452kbOK!5
30ms456kbOK!5
40ms456kbOK!5
54ms728kbOK!5
64ms728kbOK!5
724ms1548kbOK!5
824ms1548kbOK!5
976ms3744kbOK!5
1076ms3736kbOK!5
11128ms5928kbOK!5
12128ms5920kbOK!5
13260ms11388kbOK!5
14664ms27792kbOK!5
15Depăşit44192kbTime limit exceeded.0
16Depăşit44200kbTime limit exceeded.0
17Depăşit49664kbTime limit exceeded.0
18Depăşit49660kbTime limit exceeded.0
19Depăşit55128kbTime limit exceeded.0
20Depăşit55124kbTime limit exceeded.0
Punctaj total70

Ceva nu functioneaza?