Borderou de evaluare (job #1316260)

Utilizator GheorgheMihaiMihai Gheorghe GheorgheMihai Data 13 ianuarie 2015 17:50:34
Problema Sortare prin comparare Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:27:22: warning: integer overflow in expression [-Woverflow] v[i] = (1 << 31) - 1; ^ user.cpp:15: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:16: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:18:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &n); ^ user.cpp:23:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &v[i]); ^ user.cpp:51:9: warning: ‘ci’ may be used uninitialized in this function [-Wmaybe-uninitialized] poz[ci] ++; ^ user.cpp:45:26: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized] if (poz[j] <= j * lim && v[poz[j]] < x) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms276kbOK520
20ms284kbOK5
30ms280kbOK5
40ms284kbOK5
50ms292kbOK520
60ms284kbOK5
70ms288kbOK5
80ms292kbOK5
9224ms1068kbOK520
10184ms1060kbOK5
11148ms1068kbOK5
12208ms1064kbOK5
13Depăşit2444kbTime limit exceeded.00
14Depăşit2308kbTime limit exceeded.0
15Depăşit2648kbTime limit exceeded.0
16Depăşit2456kbTime limit exceeded.0
17Depăşit2796kbTime limit exceeded.00
18Depăşit2788kbTime limit exceeded.0
19Depăşit2832kbTime limit exceeded.0
20Depăşit2804kbTime limit exceeded.0
Punctaj total60

Ceva nu functioneaza?