Borderou de evaluare (job #1397149)

Utilizator handsonthewheelSandel Georgel handsonthewheel Data 23 martie 2015 12:06:51
Problema Xor Max Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:16:29: warning: suggest parentheses around comparison in operand of ‘^’ [-Wparentheses] if (xr[j] ^ xr[i-1] > best) { ^ user.cpp:10:11: warning: unused variable ‘x’ [-Wunused-variable] int n, x, best = 0 ; ^ user.cpp:8:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("xormax.in", "r", stdin); ^ user.cpp:9:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("xormax.out", "w", stdout); ^ user.cpp:12:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &n); ^ user.cpp:13:57: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] FOR (i,1,n) scanf ("%d", &a[i]),xr[i] = xr[i-1] ^ a[i]; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms244kbTrebuie sa mai muncesti daca vrei premiu ca Ionel00
20ms244kbTrebuie sa mai muncesti daca vrei premiu ca Ionel00
30ms252kbTrebuie sa mai muncesti daca vrei premiu ca Ionel00
4136ms328kbTrebuie sa mai muncesti daca vrei premiu ca Ionel00
5Depăşit812kbTime limit exceeded.00
6Depăşit1000kbTime limit exceeded.00
7Depăşit1000kbTime limit exceeded.00
8Depăşit1000kbTime limit exceeded.00
9Depăşit1000kbTime limit exceeded.00
10Depăşit996kbTime limit exceeded.00
110ms244kbTrebuie sa mai muncesti daca vrei premiu ca Ionel00
120ms244kbTrebuie sa mai muncesti daca vrei premiu ca Ionel00
130ms244kbTrebuie sa mai muncesti daca vrei premiu ca Ionel00
14136ms320kbTrebuie sa mai muncesti daca vrei premiu ca Ionel00
15Depăşit812kbTime limit exceeded.00
16Depăşit1000kbTime limit exceeded.0
17Depăşit1000kbTime limit exceeded.0
18Depăşit1000kbTime limit exceeded.00
19Depăşit1004kbTime limit exceeded.0
20Depăşit1000kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?