But there is a magical mistake.

I used a bit operation,but I got a WA at 154th test cases.

if : l&1<<i ==1.It said the l th line should be 0

there is my WA code:

```
class Solution
```

{

public:

void setZeroes(vector<vector<int> > &matrix)

{

int r=0,l=0;

```
for(int i=0;i<matrix.size();i++)
for(int j=0;j<matrix[i].size();j++)
if(matrix[i][j]==0)
{
r|=1<<j;
l|=1<<i;
}
for(int i=0;i<matrix.size();i++)
{
for(int j=0;j<matrix[i].size();j++)
if(r&1<<j||l&1<<i)
matrix[i][j]=0;
}
}
```

};

Can someone tell me why,?thank you.

Please forgive my poor English...