Borderou de evaluare (job #1545879)

Utilizator geniucosOncescu Costin geniucos Data 7 decembrie 2015 12:15:05
Problema Produse Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 25

Raport evaluator

Compilare: user.cpp: In function ‘void back(int, int, int, int)’: user.cpp:28:17: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if (pos > 1 && nr2 > ap[a[pos - 1]] || cnt == 0) return; ^ user.cpp: In function ‘int main()’: user.cpp:40:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("produse.in", "r", stdin); ^ user.cpp:41:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("produse.out", "w", stdout); ^ user.cpp:43:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d %d", &N, &D), mod = 1e9 + 7; ^ user.cpp:53:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &x), ap[x] ++; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
136ms280kbOK5
288ms280kbOK5
3144ms280kbOK5
4Depăşit2576kbTime limit exceeded.0
5492ms2604kbOK5
6Depăşit2584kbTime limit exceeded.0
7Depăşit2576kbTime limit exceeded.0
8Depăşit2580kbTime limit exceeded.0
9484ms2604kbOK5
10Depăşit2584kbTime limit exceeded.0
11Depăşit2580kbTime limit exceeded.0
12Depăşit2580kbTime limit exceeded.0
13Depăşit2584kbTime limit exceeded.0
14Depăşit2580kbTime limit exceeded.0
15Depăşit2576kbTime limit exceeded.0
16Depăşit2600kbTime limit exceeded.0
17Depăşit2580kbTime limit exceeded.0
18Depăşit2576kbTime limit exceeded.0
19Depăşit2580kbTime limit exceeded.0
20Depăşit2580kbTime limit exceeded.0
Punctaj total25

Ceva nu functioneaza?