Guest User

Untitled

a guest
Jun 23rd, 2018
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. int ops=0;
  2. for(int a=i;a<n;a++)
  3. {
  4. if(ops==1) break;
  5. for(int b=0;b<m;b++)
  6. {
  7. if(a==i && b<j) continue;
  8.  
  9. if(linha[a][b][i]&(i<<j))
  10. {
  11. for(int x=0;x<=n;x++)
  12. {
  13. int aux=linha[a][b][x];
  14. linha[a][b][x]=linha[i][j][x];
  15. linha[i][j][x]=aux;
  16. }
  17. ops=1;
  18. if(ops==1) break;
  19. }
  20.  
  21. }
  22. if(ops==1) break;
  23. }
Add Comment
Please, Sign In to add comment