Write here if you have problems with your C++ source code
Moderator: Board moderators
3 posts • Page 1 of 1
They are not equivalent.lcp wrote:Hi ,
x , y , m , n all lie in range [-10^4 , 10^4] .
so when i did
if ( (x & y) == 0) cout << "divisa ";
i got wrong answer.
if ( x== 0 || y== 0) gave okay .
what am i missing ??
Suppose x = 8 and y = 1, then x&y is equal to 0.