Borderou de evaluare (job #1244657)

Utilizator dorumusuroiFMI - Doru Musuroi dorumusuroi Data 17 octombrie 2014 22:25:16
Problema Sortare prin comparare Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:36:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d",&n); ^ user.cpp:32:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("algsort.in","r",stdin); ^ user.cpp:33:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("algsort.out","w",stdout); ^ user.cpp:36:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:38:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&a[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms440kbOK520
20ms436kbOK5
30ms440kbOK5
40ms440kbOK5
54ms444kbOK520
64ms444kbOK5
74ms444kbOK5
84ms444kbOK5
9Depăşit868kbTime limit exceeded.00
10Depăşit856kbTime limit exceeded.0
11Depăşit868kbTime limit exceeded.0
12Depăşit860kbTime limit exceeded.0
13Depăşit1844kbTime limit exceeded.00
14Depăşit1832kbTime limit exceeded.0
15Depăşit1836kbTime limit exceeded.0
16Depăşit1832kbTime limit exceeded.0
17Depăşit2416kbTime limit exceeded.00
18Depăşit2412kbTime limit exceeded.0
19Depăşit2408kbTime limit exceeded.0
20Depăşit2412kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?