Borderou de evaluare (job #1704813)

Utilizator andreiSevastreAndrei Sevastre andreiSevastre Data 19 mai 2016 12:49:32
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:14:21: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld", &v[i]); ^ user.cpp:30:22: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld ", v[i]); ^ user.cpp:10: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:11: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:12:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:14:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld", &v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms264kbOK520
20ms268kbOK5
30ms260kbOK5
40ms264kbOK5
54ms272kbOK520
60ms268kbOK5
70ms264kbOK5
84ms268kbOK5
9Depăşit636kbTime limit exceeded.00
10Depăşit628kbTime limit exceeded.0
11Depăşit632kbTime limit exceeded.0
12Depăşit632kbTime limit exceeded.0
13Depăşit1608kbTime limit exceeded.00
14Depăşit1608kbTime limit exceeded.0
15Depăşit1608kbTime limit exceeded.0
16Depăşit1608kbTime limit exceeded.0
17Depăşit2196kbTime limit exceeded.00
18Depăşit2188kbTime limit exceeded.0
19Depăşit2192kbTime limit exceeded.0
20Depăşit2192kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?