Borderou de evaluare (job #1033780)

Utilizator GheorgheMihaiMihai Gheorghe GheorgheMihai Data 17 noiembrie 2013 15:22:41
Problema Dtcsu Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:67:19: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] if ((x & p2[0] - 1) == 0) ^ user.cpp:69:19: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] if ((x & p2[1] - 1) == 0) ^ user.cpp:71:19: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] if ((x & p2[2] - 1) == 0) ^ user.cpp:73:19: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] if ((x & p2[3] - 1) == 0) ^ user.cpp:75:19: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] if ((x & p2[4] - 1) == 0) ^ user.cpp:77:19: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] if ((x & p2[5] - 1) == 0) ^ /tmp/ccEOE5xY.o: In function `main': user.cpp:(.text.startup+0x60): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
12580ms376kbOK20
23204ms376kbOK20
33016ms380kbOK20
42280ms376kbOK20
52724ms372kbOK20
Punctaj total100

Ceva nu functioneaza?