Borderou de evaluare (job #976405)

Utilizator Dddarius95Darius-Florentin Neatu Dddarius95 Data 23 iulie 2013 10:39:25
Problema Perechi Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp:3:21: warning: left shift count >= width of type [enabled by default] #define Nmax (1<<16+1000) ^ user.cpp:7:11: note: in expansion of macro ‘Nmax’ int n,k,P[Nmax]; ^ user.cpp:3:16: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses] #define Nmax (1<<16+1000) ^ user.cpp:7:11: note: in expansion of macro ‘Nmax’ int n,k,P[Nmax]; ^ user.cpp:3:21: warning: left shift count >= width of type [enabled by default] #define Nmax (1<<16+1000) ^ user.cpp:9:8: note: in expansion of macro ‘Nmax’ bool V[Nmax]; ^ user.cpp:3:16: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses] #define Nmax (1<<16+1000) ^ user.cpp:9:8: note: in expansion of macro ‘Nmax’ bool V[Nmax]; ^ user.cpp: In function ‘int main()’: user.cpp:3:21: warning: left shift count >= width of type [enabled by default] #define Nmax (1<<16+1000) ^ user.cpp:37:14: note: in expansion of macro ‘Nmax’ Ciur(Nmax); ^ user.cpp:3:16: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses] #define Nmax (1<<16+1000) ^ user.cpp:37:14: note: in expansion of macro ‘Nmax’ Ciur(Nmax); ^ user.cpp: In function ‘void Ciur(int)’: user.cpp:17:21: warning: array subscript is above array bounds [-Warray-bounds] if (V[i >> 4] & (1 << ((i >> 1) & 7))) continue; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms376kbOK5
20ms372kbIncorect0
30ms376kbIncorect0
40ms376kbIncorect0
50ms380kbIncorect0
60ms380kbIncorect0
70ms376kbOK5
80ms376kbIncorect0
90ms376kbIncorect0
100ms376kbIncorect0
110ms372kbIncorect0
120ms376kbIncorect0
130ms376kbIncorect0
140ms376kbIncorect0
150ms372kbIncorect0
160ms376kbIncorect0
170ms372kbIncorect0
180ms372kbIncorect0
190ms372kbIncorect0
200ms380kbIncorect0
Punctaj total10

Ceva nu functioneaza?