Borderou de evaluare (job #1912345)

Utilizator pas.andreiPopovici Andrei-Sorin pas.andrei Data 8 martie 2017 01:39:30
Problema Scara 2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int lsb(int)’: user.cpp:19:33: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] inline int lsb(int x) {return (x&(x-1)^x);} ^ user.cpp: In function ‘bool isMinlex(int, int)’: user.cpp:31:6: warning: unused variable ‘i’ [-Wunused-variable] int i,x,y; ^ user.cpp: In function ‘int main()’: user.cpp:4:11: warning: unused variable ‘first’ [-Wunused-variable] #define x first ^ user.cpp:61:8: note: in expansion of macro ‘x’ int n,x,y,i,j,h,s1,s2,ind,p; ^ user.cpp:5:11: warning: unused variable ‘second’ [-Wunused-variable] #define y second ^ user.cpp:61:10: note: in expansion of macro ‘y’ int n,x,y,i,j,h,s1,s2,ind,p; ^ user.cpp:61:24: warning: unused variable ‘ind’ [-Wunused-variable] int n,x,y,i,j,h,s1,s2,ind,p; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms536kbOK10
216ms608kbOK10
324ms700kbOK10
476ms700kbOK10
50ms536kbOK10
60ms536kbOK10
712ms704kbOK10
80ms532kbOK10
98ms536kbOK10
100ms664kbOK10
Punctaj total100

Ceva nu functioneaza?