Diferente pentru operatii-pe-biti intre reviziile #16 si #17
Nu exista diferente intre titluri.
Diferente intre continut:
==code(cpp)| int isTwoPower(long n) {
return (n & (n-1) == 0);
return ( n & (n - 1) ) == 0 ;
} ==
==code(cpp)| int isTwoPower(long n) {
return (n & (n-1) == 0);
return ( n & (n - 1) ) == 0 ;
} ==